NEZ-663 fix: 修改部分报错问题
This commit is contained in:
@@ -979,7 +979,7 @@ export default {
|
|||||||
|
|
||||||
self.$refs['localLoading' + self.chartIndex].endLoading()
|
self.$refs['localLoading' + self.chartIndex].endLoading()
|
||||||
self.firstShow = true // 展示操作按键
|
self.firstShow = true // 展示操作按键
|
||||||
}, 100)
|
}, 800)
|
||||||
|
|
||||||
window.addEventListener('resize', this.chartResize)
|
window.addEventListener('resize', this.chartResize)
|
||||||
getChart(this.chartIndex).on('magictypechanged', function (params) {
|
getChart(this.chartIndex).on('magictypechanged', function (params) {
|
||||||
|
|||||||
@@ -514,7 +514,9 @@ export default {
|
|||||||
this.filter.panelId = this.showPanel.id
|
this.filter.panelId = this.showPanel.id
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.selectPanel.$refs.panelTree.setCurrentKey(this.showPanel)
|
try {
|
||||||
|
this.$refs.selectPanel.$refs.panelTree.setCurrentKey(this.showPanel)
|
||||||
|
} catch (e) {}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.showPanel.id = ''
|
this.showPanel.id = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user