This commit is contained in:
zyronon
2023-12-05 16:45:53 +08:00
parent 50e495a6ab
commit 6ae387930a
6 changed files with 33 additions and 130 deletions

View File

@@ -143,10 +143,10 @@ export async function checkDictHasTranslate(dict: Dict) {
}
//同步到我的词典列表
export function syncMyDictList(dict: Dict) {
export function syncMyDictList(dict: Dict, isCustom = true) {
const store = useBaseStore()
//任意修改,都将其变为自定义词典
dict.isCustom = true
dict.isCustom = isCustom
if (isArticle(dict.type)) {
dict.length = dict.articles.length
} else {