forked from github/dataease
Merge pull request #9799 from dataease/pr@dev-v2@fix_tab-switch
fix(仪表板): 修复Tab组件仅切换tab页导致保存按钮高亮问题
This commit is contained in:
commit
c7e9f18329
@ -138,7 +138,9 @@ const canvasInit = (isFistLoad = true) => {
|
||||
}
|
||||
// afterInit
|
||||
dvMainStore.setDataPrepareState(true)
|
||||
isFistLoad && snapshotStore.recordSnapshotCache('renderChart')
|
||||
if (isMainCanvas(canvasId.value.id) && isFistLoad) {
|
||||
snapshotStore.recordSnapshotCache('renderChart')
|
||||
}
|
||||
}, 500)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user