zdg #253

Merged
zhengdegang merged 4 commits from zdg into main 2024-09-23 11:06:16 +08:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 372371e2f0 - Show all commits

View File

@ -23,11 +23,12 @@ export const useToolState = defineStore('tool', {
}), }),
actions: { actions: {
async resetDef() { // 重置数据-下课 async resetDef() { // 重置数据-下课
this.model = 'select' // 悬浮球-当前模式 // this.model = 'select' // 悬浮球-当前模式
await sleep(20) // 休眠20ms await sleep(50) // 休眠50ms
this.showBoardAll = false // 全屏画板-是否显示 this.showBoardAll = false // 全屏画板-是否显示
await sleep(20) // 休眠20ms await sleep(50) // 休眠50ms
this.isToolWin = false // 工具窗口是否打开 this.isToolWin = false // 工具窗口是否打开
await sleep(50) // 休眠50ms
} }
} }
}) })

View File

@ -243,6 +243,7 @@ const sideChange = async o => {
// === === // === ===
watchEffect(() => { watchEffect(() => {
if (isOver.value) return // ,
// , : - // , : -
const show = !toolStore.isPdfWin && toolStore.showBoardAll const show = !toolStore.isPdfWin && toolStore.showBoardAll
if (show != isShow.value) isShow.value = show if (show != isShow.value) isShow.value = show