forked from github/dataease
fix(嵌入式): 数据集树进入新建数据集页面无法退出创建页面
This commit is contained in:
parent
89ee108ba8
commit
f4e9c89ac0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user