forked from github/dataease
fix(仪表板): 切换到移动端需要先检查仪表板保存状态
This commit is contained in:
parent
633ba93db7
commit
d2ae4bdb7e
@ -197,6 +197,10 @@ const openDataBoardSetting = () => {
|
||||
}
|
||||
|
||||
const openMobileSetting = () => {
|
||||
if (!dvInfo.value.id) {
|
||||
ElMessage.warning('请先保存当前页面')
|
||||
return
|
||||
}
|
||||
useEmitt().emitter.emit('mobileConfig')
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user