From bdffb7d681d28edf3da340ed67a3271fb189e6eb Mon Sep 17 00:00:00 2001 From: fofolee Date: Sun, 29 Dec 2024 09:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81features.mainHide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/editor/CommandSideBar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/editor/CommandSideBar.vue b/src/components/editor/CommandSideBar.vue index 4273dc3..d1e7859 100644 --- a/src/components/editor/CommandSideBar.vue +++ b/src/components/editor/CommandSideBar.vue @@ -571,6 +571,10 @@ export default { if (verify !== true) { return quickcommand.showMessageBox(verify, "error"); } + + if (outputTypes[updateData.output].outPlugin) { + updateData.features.mainHide = true; + } // 匹配文件时,额外添加文件类型 let rules = this.cmdMatch; if (this.cmdType.name === "files") {