mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
fix(嵌入式): 数据集树进入新建数据集页面无法退出创建页面
This commit is contained in:
@@ -222,6 +222,11 @@ const getDsName = (id: string) => {
|
||||
}
|
||||
|
||||
const pushDataset = () => {
|
||||
if (appStore.isDataEaseBi) {
|
||||
embeddedStore.clearState()
|
||||
useEmitt().emitter.emit('changeCurrentComponent', 'DatasetEditor')
|
||||
return
|
||||
}
|
||||
const routeName = embeddedStore.getToken && appStore.getIsIframe ? 'dataset-embedded' : 'dataset'
|
||||
push({
|
||||
name: routeName,
|
||||
|
||||
Reference in New Issue
Block a user