Merge pull request #4600 from dataease/pr@dev@fix_panel-tab

fix(仪表版): 修复编辑状态下Tab组件内部仪表板板切换时可能存在的错位问题
This commit is contained in:
王嘉豪
2023-02-21 14:45:50 +08:00
committed by GitHub

View File

@@ -411,6 +411,10 @@ export default {
const _this = this
_this.$nextTick(() => {
try {
const targetRef = _this.$refs['canvasTabRef-' + _this.activeTabName]
if (targetRef) {
targetRef[0].restore()
}
_this.$refs[this.activeTabName][0].resizeChart()
} catch (e) {
// ignore