Commit f3120b2a authored by shifangwuji's avatar shifangwuji

1

parent 57f5d71a
...@@ -308,8 +308,8 @@ export default { ...@@ -308,8 +308,8 @@ export default {
item.systemMode = systemMode item.systemMode = systemMode
item.optionName = temp[temp.length - 1] item.optionName = temp[temp.length - 1]
} else { } else {
item.systemMode = undefined item.systemMode = ''
item.optionName = undefined item.optionName = ''
} }
return item return item
}) })
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
const downloadElement = document.createElement('a') const downloadElement = document.createElement('a')
const href = window.URL.createObjectURL(blob)// 创建下载的链接 const href = window.URL.createObjectURL(blob)// 创建下载的链接
downloadElement.href = href downloadElement.href = href
downloadElement.download = '操作日志' + '.xls' // 下载后文件名 downloadElement.download = '异常日志' + '.xls' // 下载后文件名
document.body.appendChild(downloadElement) document.body.appendChild(downloadElement)
downloadElement.click()// 点击下载 downloadElement.click()// 点击下载
document.body.removeChild(downloadElement)// 下载完成移除元素 document.body.removeChild(downloadElement)// 下载完成移除元素
......
...@@ -210,8 +210,8 @@ export default { ...@@ -210,8 +210,8 @@ export default {
page: 1, page: 1,
rows: 10, rows: 10,
ipaddr: undefined, ipaddr: undefined,
username: undefined, username: '',
status: undefined, status: '',
loginTime: '' loginTime: ''
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment