From 2b99fa0f31675063257b99b8d3545f82f5152ba8 Mon Sep 17 00:00:00 2001 From: fofolee Date: Wed, 13 Mar 2024 18:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E4=B8=8B=E7=9A=84=E5=BC=B9=E7=AA=97=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8F=8A=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ConfigurationMenu.vue | 832 ++++++++++++++++----------- src/pages/ConfigurationPage.vue | 221 +++++-- 2 files changed, 651 insertions(+), 402 deletions(-) diff --git a/src/components/ConfigurationMenu.vue b/src/components/ConfigurationMenu.vue index 16e5846..306d2a0 100644 --- a/src/components/ConfigurationMenu.vue +++ b/src/components/ConfigurationMenu.vue @@ -1,304 +1,443 @@ diff --git a/src/pages/ConfigurationPage.vue b/src/pages/ConfigurationPage.vue index fa05d98..1ec3467 100644 --- a/src/pages/ConfigurationPage.vue +++ b/src/pages/ConfigurationPage.vue @@ -2,19 +2,37 @@
- - + + - + {{ tag }} 所有没有添加标签的命令都会归在未分类
@@ -24,43 +42,78 @@
- - - + + +
- +
-
+
- + @@ -70,39 +123,65 @@
- + ]" + > - + - + - + @@ -110,11 +189,24 @@
- - + + - +
@@ -122,7 +214,7 @@ import { defineAsyncComponent } from "vue"; import quickcommandParser from "../js/common/quickcommandParser.js"; import importAll from "../js/common/importAll.js"; -import changeLog from "../js/options/changeLog.js" +import changeLog from "../js/options/changeLog.js"; import pinyinMatch from "pinyin-match"; import CommandCard from "components/CommandCard"; import CommandEditor from "components/CommandEditor"; @@ -517,10 +609,21 @@ export default { showChangeLog() { let lastNeedLogEvent = changeLog[changeLog.length - 1]; let loggedVersion = - this.$root.utools.whole.dbStorage.getItem("cfg_loggedVersion") || '0.0.0'; + this.$root.utools.whole.dbStorage.getItem("cfg_loggedVersion") || + "0.0.0"; if (loggedVersion < lastNeedLogEvent.version) { - quickcommand.showConfirmBox('
' + lastNeedLogEvent.log + '
', '更新日志', true, 700) - this.$root.utools.whole.dbStorage.setItem("cfg_loggedVersion", lastNeedLogEvent.version) + quickcommand.showConfirmBox( + '
' +
+            lastNeedLogEvent.log +
+            "
", + "更新日志", + true, + 700 + ); + this.$root.utools.whole.dbStorage.setItem( + "cfg_loggedVersion", + lastNeedLogEvent.version + ); } }, },