fix: 折叠问题恢复
This commit is contained in:
@@ -301,19 +301,13 @@ export default {
|
||||
watch: {
|
||||
dropdownMenuShow (n) {
|
||||
this.$emit('dropmenu-change', n)
|
||||
},
|
||||
chartData: {
|
||||
deep: true,
|
||||
immediate: true,
|
||||
handler (n) {
|
||||
if (n.param) {
|
||||
this.showList = !n.param.collapse
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.firstLoad = false
|
||||
if (this.chartData.param) {
|
||||
this.showList = !this.chartData.param.collapse
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.clearChart()
|
||||
|
||||
Reference in New Issue
Block a user