mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix: 修复公共链接仪表板状态修改不及时问题
This commit is contained in:
@@ -216,7 +216,6 @@ onMounted(async () => {
|
||||
return
|
||||
}
|
||||
dvMainStore.setEmbeddedCallBack(callBackFlag || 'no')
|
||||
dvMainStore.setPublicLinkStatus(props.publicLinkStatus)
|
||||
})
|
||||
|
||||
const dataVKeepSize = computed(() => {
|
||||
|
||||
@@ -39,9 +39,11 @@ import PwdTips from './pwd.vue'
|
||||
import ErrorTemplate from './ErrorTemplate.vue'
|
||||
import { useLinkStoreWithOut } from '@/store/modules/link'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
|
||||
const linkStore = useLinkStoreWithOut()
|
||||
const requestStore = useRequestStoreWithOut()
|
||||
const permissionStore = usePermissionStoreWithOut()
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const pcanvas = ref(null)
|
||||
const iframeError = ref(true)
|
||||
const disableError = ref(true)
|
||||
@@ -101,6 +103,7 @@ onMounted(async () => {
|
||||
}
|
||||
loading.value = false
|
||||
})
|
||||
dvMainStore.setPublicLinkStatus(true)
|
||||
})
|
||||
onBeforeUnmount(() => {
|
||||
linkStore.$reset()
|
||||
|
||||
Reference in New Issue
Block a user