This commit is contained in:
qiaoqinzheng 2023-11-17 17:39:58 +08:00
commit c3ae0e5bdb
2 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,7 @@ export default {
watch: { watch: {
$route: { $route: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
console.log(val) if (val.name.search('alarm') != -1) {
if (val.name === 'abnormal-alarm') {
this.currSlecteKey = [] this.currSlecteKey = []
this.currSlecteKey.push(val.path) this.currSlecteKey.push(val.path)
window.sessionStorage.setItem('currMenu_alarm', val.path) window.sessionStorage.setItem('currMenu_alarm', val.path)

View File

@ -173,6 +173,7 @@ export default {
}, },
onDbChange(val) { onDbChange(val) {
this.name = val this.name = val
this.dbName = undefined
this.getDbNameList() this.getDbNameList()
}, },
ondbNameChange(val) { ondbNameChange(val) {