Merge pull request #13931 from dataease/pr@dev-v2_st

fix(数据集): 新建仪表板指定数据集不正确
This commit is contained in:
Junjun 2024-12-10 14:54:43 +08:00 committed by GitHub
commit 9387a806fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,7 @@ import {
onBeforeMount,
provide,
unref,
onBeforeUnmount,
onMounted
} from 'vue'
import Icon from '@/components/icon-custom/src/Icon.vue'
@ -183,6 +184,11 @@ onBeforeMount(() => {
cacheId = route.query.id as unknown as string
})
onBeforeUnmount(() => {
view.value.tableId = ''
cacheId = ''
})
onMounted(() => {
useEmitt({
name: 'clear-remove',