mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(仪表板): 切换到移动端需要先检查仪表板保存状态
This commit is contained in:
@@ -197,6 +197,10 @@ const openDataBoardSetting = () => {
|
||||
}
|
||||
|
||||
const openMobileSetting = () => {
|
||||
if (!dvInfo.value.id) {
|
||||
ElMessage.warning('请先保存当前页面')
|
||||
return
|
||||
}
|
||||
useEmitt().emitter.emit('mobileConfig')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user