mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
Merge pull request #13931 from dataease/pr@dev-v2_st
fix(数据集): 新建仪表板指定数据集不正确
This commit is contained in:
commit
9387a806fd
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user