forked from github/dataease
fix(嵌入式): 数据集树进入新建数据集页面无法退出创建页面
This commit is contained in:
parent
640ce811cc
commit
525320ba12
@ -222,11 +222,9 @@ const getDsName = (id: string) => {
|
||||
}
|
||||
|
||||
const pushDataset = () => {
|
||||
console.log('appStore.isDataEaseBi', appStore.isDataEaseBi)
|
||||
if (appStore.isDataEaseBi) {
|
||||
debugger
|
||||
embeddedStore.clearState()
|
||||
useEmitt().emitter.emit('changeCurrentComponent', 'DatasetEditor')
|
||||
useEmitt().emitter.emit('changeCurrentComponent', 'Dataset')
|
||||
return
|
||||
}
|
||||
const routeName = embeddedStore.getToken && appStore.getIsIframe ? 'dataset-embedded' : 'dataset'
|
||||
|
Loading…
Reference in New Issue
Block a user