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 + ); } }, },