From c6cce49b827237b90bf5ae5e7954a98a7a4e19e3 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 7 Apr 2022 00:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BC=96=E8=BE=91=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandCard.vue | 4 +- src/components/CommandEditor.vue | 250 +++------------------- src/components/CommandMenu.vue | 352 +++++++++++++++++++++++++++++++ src/js/options/commandTypes.js | 107 +++++++++- src/js/options/specialVars.js | 64 ++++++ 5 files changed, 540 insertions(+), 237 deletions(-) create mode 100644 src/components/CommandMenu.vue create mode 100644 src/js/options/specialVars.js diff --git a/src/components/CommandCard.vue b/src/components/CommandCard.vue index 67cf8fa..a31270a 100644 --- a/src/components/CommandCard.vue +++ b/src/components/CommandCard.vue @@ -110,7 +110,7 @@ {{ getShortStrByByte(cmd) }} @@ -217,7 +217,7 @@ export default { maxCmdStingLen: 8, commandTypes: commandTypes, cmdBadgeSheet: { - keyword: "primary", + key: "primary", files: "light-blue", window: "indigo", regex: "cyan", diff --git a/src/components/CommandEditor.vue b/src/components/CommandEditor.vue index 8f373a5..d1e5dbe 100644 --- a/src/components/CommandEditor.vue +++ b/src/components/CommandEditor.vue @@ -1,10 +1,9 @@