From 4fdfe751e829f3140f1d91c3fdb31f683d5af713 Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 14 Nov 2023 18:55:06 +0800 Subject: [PATCH] save --- components.d.ts | 1 - src/assets/dictionary.ts | 2 +- src/components/Modal/AddWordDialog.vue | 567 ------------------ src/components/Modal/DictDialog/index.vue | 89 ++- src/components/Practice/Panel.vue | 6 +- src/components/Practice/Practice.vue | 3 +- .../PracticeArticle/PracticeArticle.vue | 2 +- .../Practice/PracticeWord/TypingWord.vue | 2 +- src/components/list/DictList.vue | 2 +- src/stores/base.ts | 154 ++--- 10 files changed, 105 insertions(+), 723 deletions(-) delete mode 100644 src/components/Modal/AddWordDialog.vue diff --git a/components.d.ts b/components.d.ts index d76235a8..fc80ea7a 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,7 +9,6 @@ declare module 'vue' { export interface GlobalComponents { Add: typeof import('./src/components/Toolbar/Add.vue')['default'] AddDict: typeof import('./src/components/Add/AddDict.vue')['default'] - AddWordDialog: typeof import('./src/components/Modal/AddWordDialog.vue')['default'] ArticleList: typeof import('./src/components/Article/ArticleList.vue')['default'] Backgorund: typeof import('./src/components/Backgorund.vue')['default'] BaseButton: typeof import('./src/components/BaseButton.vue')['default'] diff --git a/src/assets/dictionary.ts b/src/assets/dictionary.ts index 6cce17bd..ec55f8ed 100644 --- a/src/assets/dictionary.ts +++ b/src/assets/dictionary.ts @@ -2327,7 +2327,7 @@ const enArticle: DictResource[] = [ description: '新概念英语2-课文', category: '英语学习', tags: ['新概念英语'], - url: '/articles/NCE_2.json', + url: 'NCE_2.json', length: 5892, translateLanguage: 'common', language: 'en', diff --git a/src/components/Modal/AddWordDialog.vue b/src/components/Modal/AddWordDialog.vue deleted file mode 100644 index d175a6c9..00000000 --- a/src/components/Modal/AddWordDialog.vue +++ /dev/null @@ -1,567 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/Modal/DictDialog/index.vue b/src/components/Modal/DictDialog/index.vue index 541242c1..8a6560c3 100644 --- a/src/components/Modal/DictDialog/index.vue +++ b/src/components/Modal/DictDialog/index.vue @@ -1,7 +1,7 @@