|
@@ -144,6 +144,12 @@ export default {
|
|
|
this.mainFunList = JSON.parse(JSON.stringify(val))
|
|
|
this.formatMainFunList(this.addedList)
|
|
|
}
|
|
|
+ },
|
|
|
+ drawerShow (val) {
|
|
|
+ if (!val) {
|
|
|
+ this.tabFixed = false
|
|
|
+ this.tabActive = 0
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
async created () {
|
|
@@ -279,8 +285,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
onCloseDrawer () {
|
|
|
- this.tabFixed = false
|
|
|
- this.tabActive = 0
|
|
|
+ // this.tabFixed = false
|
|
|
+ // this.tabActive = 0
|
|
|
this.formatMainFunList(this.commonList)
|
|
|
this.changeDrawerState(false)
|
|
|
},
|