From 19901d802fe66fe236f05156c7ac811528632a38 Mon Sep 17 00:00:00 2001 From: zdg Date: Mon, 5 Aug 2024 17:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=AE=A1=E7=90=86-=E5=A4=9A?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E5=85=B1=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/store/modules/tool.js | 16 ++------------ .../src/views/tool/components/board.vue | 6 ++++-- src/renderer/src/views/tool/sphere.vue | 21 ++++++++++++------- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src/renderer/src/store/modules/tool.js b/src/renderer/src/store/modules/tool.js index c6bd2d9..224b5d7 100644 --- a/src/renderer/src/store/modules/tool.js +++ b/src/renderer/src/store/modules/tool.js @@ -5,21 +5,9 @@ import { defineStore } from 'pinia' export const useToolState = defineStore('tool', { state: () => ({ - // 窗口状态 - windowState: { - // 窗口是否最小化 - isMinimize: false, - // 窗口是否最大化 - isMaximize: false, - // 窗口是否关闭 - isClose: false, - test: '' - } + model: 'select', // 悬浮球-当前模式 + showBoardAll: false, // 全屏画板-是否显示 }), actions: { - // 设置窗口状态 - setWindowState(payload) { - if(!!payload)this.windowState = payload - } } }) \ No newline at end of file diff --git a/src/renderer/src/views/tool/components/board.vue b/src/renderer/src/views/tool/components/board.vue index e41a448..cb78cb2 100644 --- a/src/renderer/src/views/tool/components/board.vue +++ b/src/renderer/src/views/tool/components/board.vue @@ -1,6 +1,8 @@