From eddadcada49b453bc9b89bb70bb30bc2d5576fba Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 7 Apr 2022 01:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=8F=98=E9=87=8F=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandMenu.vue | 28 +++++++++++++++++++++++++--- src/components/MonocaEditor.vue | 17 +++++++++++++++++ src/js/options/commandTypes.js | 8 +++++++- 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/src/components/CommandMenu.vue b/src/components/CommandMenu.vue index c02d372..baee71c 100644 --- a/src/components/CommandMenu.vue +++ b/src/components/CommandMenu.vue @@ -144,6 +144,7 @@ transition-show="jump-down" transition-hide="jump-up" borderless + @update:model-value="(val) => insertSpecialVar(val.label)" square :options="specialVarsOptions" v-model="specialVar" @@ -157,7 +158,7 @@