diff --git a/src/pages/pc/components/Book.vue b/src/pages/pc/components/Book.vue index cdd30822..2f53a1ef 100644 --- a/src/pages/pc/components/Book.vue +++ b/src/pages/pc/components/Book.vue @@ -20,7 +20,7 @@ const progress = $computed(() => { diff --git a/src/pages/pc/word/DictDetail.vue b/src/pages/pc/word/DictDetail.vue index cd617f48..2182a52b 100644 --- a/src/pages/pc/word/DictDetail.vue +++ b/src/pages/pc/word/DictDetail.vue @@ -174,7 +174,10 @@ function syncDictInMyStudyList(study = false) { let rIndex = base.word.bookList.findIndex(v => v.id === runtimeStore.editDict.id) let temp = cloneDeep(runtimeStore.editDict); console.log(temp) - temp.custom = true + if (!temp.custom) { + temp.custom = true + temp.id += '_custom' + } temp.length = temp.words.length if (rIndex > -1) { base.word.bookList[rIndex] = temp