diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index 21983305f..bf1cb6a1c 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -736,7 +736,7 @@ export default { jsonKey: 'val' } } - } else if (path === 'snmp' && this.switchTab == 'credentials') { + } else if (path === 'credentials') { searchKeys = { // key: path 键 // value: vue set 参数 @@ -788,7 +788,7 @@ export default { jsonKey: 'val' } } - } else if (path === 'snmp' && this.switchTab == 'file') { + } else if (path === 'mib') { searchKeys = { // key: path 键 // value: vue set 参数