fix: 修复因路由更改导致的,path携带参数错误问题

This commit is contained in:
@changcode
2022-01-17 13:59:18 +08:00
parent 109b8c64b5
commit dd5300d5a1

View File

@@ -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 参数