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),