From b09ec5fa3de65f6221e372abda7a46aab2fbcb11 Mon Sep 17 00:00:00 2001 From: fofolee Date: Tue, 5 Apr 2022 17:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandCard.vue | 5 ++--- src/pages/ConfigurationPage.vue | 34 ++++++++++++++++++++++++++------- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/components/CommandCard.vue b/src/components/CommandCard.vue index 44f3d61..a1056ae 100644 --- a/src/components/CommandCard.vue +++ b/src/components/CommandCard.vue @@ -95,9 +95,8 @@ :style="{ fontSize: cardStyleVars.showBiggerTitle ? '1.25rem' : '1.1rem', }" - > - {{ commandInfo.features.explain }} - + v-html="commandInfo.features.explain" + />
diff --git a/src/pages/ConfigurationPage.vue b/src/pages/ConfigurationPage.vue index 9157b67..72ec5d9 100644 --- a/src/pages/ConfigurationPage.vue +++ b/src/pages/ConfigurationPage.vue @@ -21,7 +21,7 @@ :content-class=" tag === '搜索结果' ? 'text-blue-9 text-weight-bold' : '' " - v-show="!(tag === '搜索结果' && !commandSearchKeyword)" + v-show="!(tag === '搜索结果' && commandSearchKeyword?.length < 2)" > {{ tag }} @@ -104,7 +104,7 @@ clearable clear-icon="close" @update:model-value="updateSearch" - placeholder="搜索" + placeholder="搜索,支持拼音首字母" >