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: {
$route: {
handler: function (val, oldVal) {
console.log(val)
if (val.name === 'abnormal-alarm') {
if (val.name.search('alarm') != -1) {
this.currSlecteKey = []
this.currSlecteKey.push(val.path)
window.sessionStorage.setItem('currMenu_alarm', val.path)

View File

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