NEZ-2563 fix:dashboard 图表位置调整不能正确保存

This commit is contained in:
zyh
2023-02-15 17:46:15 +08:00
parent 2e10c72cee
commit 663ffd8f74
3 changed files with 16 additions and 10 deletions

View File

@@ -1118,7 +1118,9 @@ export default {
},
getPanelData () {
this.variablesInit = true
this.$refs.chartList.onScroll(this.scrollbarWrap.scrollTop)
this.$nextTick(() => {
this.$refs.chartList.onScroll(this.scrollbarWrap.scrollTop)
})
}
},
created () {