diff --git a/src/components/article/EditBatchArticleModal.vue b/src/components/article/EditBatchArticleModal.vue index 9c1532cb..1bebacc3 100644 --- a/src/components/article/EditBatchArticleModal.vue +++ b/src/components/article/EditBatchArticleModal.vue @@ -78,7 +78,7 @@ function checkDataChange() { let r = await editArticleRef.save('save') if (r) resolve(true) }, - () => void 0, + () => resolve(true), ) } } else { @@ -90,7 +90,7 @@ function checkDataChange() { let r = await editArticleRef.save('save') if (r) resolve(true) }, - () => void 0, + () => resolve(true), ) } } diff --git a/src/components/toolbar/index.vue b/src/components/toolbar/index.vue index e38f05d7..8190d1dc 100644 --- a/src/components/toolbar/index.vue +++ b/src/components/toolbar/index.vue @@ -15,7 +15,7 @@ import {useSettingStore} from "@/stores/setting.ts"; import {usePracticeStore} from "@/stores/practice.ts"; import {useRuntimeStore} from "@/stores/runtime.ts"; import {$ref} from "vue/macros"; -import {ShortcutKey} from "@/types.ts"; +import {DictType, ShortcutKey} from "@/types.ts"; import ChapterName from "@/components/toolbar/ChapterName.vue"; import {emitter, EventKey} from "@/utils/eventBus.ts"; @@ -69,7 +69,7 @@ watch(() => store.load, n => { {{ store.currentDict.name }} {{ practiceStore.repeatNumber ? ' 复习错词' : '' }} - +
复习错词
diff --git a/src/types.ts b/src/types.ts index 7fc3c6d5..410c4fde 100644 --- a/src/types.ts +++ b/src/types.ts @@ -225,7 +225,7 @@ export const DefaultDict: Dict = { wordIndex: 0,//单词下标 articles: [], statistics: [], - isCustom: true, + isCustom: false, length: 0, /*资源属性*/ resourceId: '',