mirror of
https://github.com/dataease/dataease.git
synced 2025-02-23 19:12:55 +08:00
fix(数据大屏、仪表板): 修复桌面版从数据集测新建仪表板,数据集选项可能不准确问题
This commit is contained in:
parent
35640f08ee
commit
59bc6df229
@ -169,6 +169,7 @@ const initLocalCanvasData = () => {
|
||||
})
|
||||
}
|
||||
onMounted(async () => {
|
||||
dvMainStore.setCurComponent({ component: null, index: null })
|
||||
snapshotStore.initSnapShot()
|
||||
if (window.location.hash.includes('#/dashboard')) {
|
||||
newWindowFromDiv.value = true
|
||||
|
@ -356,6 +356,7 @@ const newWindowFromDiv = ref(false)
|
||||
let p = null
|
||||
const XpackLoaded = () => p(true)
|
||||
onMounted(async () => {
|
||||
dvMainStore.setCurComponent({ component: null, index: null })
|
||||
snapshotStore.initSnapShot()
|
||||
if (window.location.hash.includes('#/dvCanvas')) {
|
||||
newWindowFromDiv.value = true
|
||||
|
Loading…
Reference in New Issue
Block a user