Merge branch 'dev-3.5' of git.mesalab.cn:nezha/nezha-fronted into dev-3.5

This commit is contained in:
zyh
2022-09-14 10:15:47 +08:00
2 changed files with 15 additions and 7 deletions

View File

@@ -150,7 +150,7 @@ export default {
tableFilter () {
const tableDatas = JSON.parse(this.tableDataCopy)
this.tableData = tableDatas.filter((item) => {
const element = item.commandLine
const element = item.commandLine ? item.commandLine : item.name
return element.indexOf(this.queryExpression) !== -1
})
},