mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix(数据集): 新建仪表板指定数据集不正确
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user