forked from github/dataease
Merge pull request #4600 from dataease/pr@dev@fix_panel-tab
fix(仪表版): 修复编辑状态下Tab组件内部仪表板板切换时可能存在的错位问题
This commit is contained in:
commit
4fa36ab3e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user