mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
fix(系统设置): 系统设置的基础设置中添加页面打开方式选项 当前窗口打开,保持现在的新逻辑,新窗口打开,按原来的逻辑
This commit is contained in:
@@ -236,7 +236,11 @@ const backHandler = (url: string) => {
|
||||
dvMainStore.canvasStateChange({ key: 'curPointArea', value: 'base' })
|
||||
wsCache.delete('DE-DV-CATCH-' + dvInfo.value.id)
|
||||
wsCache.set('dv-info-id', dvInfo.value.id)
|
||||
history.back()
|
||||
if (!!history.state.back) {
|
||||
history.back()
|
||||
} else {
|
||||
window.open(url, '_self')
|
||||
}
|
||||
}
|
||||
const openHandler = ref(null)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user