From 29433868e990df0b55ab1b54a978d596f3082c9b Mon Sep 17 00:00:00 2001 From: yutent Date: Sun, 19 Feb 2023 20:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yaml | 2 -- src/views/home.vue | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index cc44eac..0be5beb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,8 +29,6 @@ jobs: - name: 安装依赖并编译 run: | - pwd - ls -lsh npm i npm run build diff --git a/src/views/home.vue b/src/views/home.vue index 133e89d..fb8dbcb 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -332,7 +332,7 @@ export default { } // 词库查询 { - let extra = WB_WORDS.get(text) + let extra = (WB_WORDS.get(text) || []) .concat( WB_DY.get(text), WB_EMOJI.get(text),