fix(仪表版): 修复编辑状态下Tab组件内部仪表板板切换时可能存在的错位问题

This commit is contained in:
wangjiahao 2023-02-21 14:41:22 +08:00
parent ee6697a5b9
commit 6bb338a364

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