This commit is contained in:
zyronon
2023-11-15 17:36:08 +08:00
parent 4fdfe751e8
commit 1d10d70f23
3 changed files with 284 additions and 258 deletions

View File

@@ -58,7 +58,7 @@ async function selectDict(val: { dict: DictResource, index: number }) {
})
}
if ([DictType.collect, DictType.simple, DictType.simple].includes(runtimeStore.editDict.type)) {
if ([DictType.collect, DictType.simple, DictType.wrong].includes(runtimeStore.editDict.type)) {
wordList = cloneDeep(runtimeStore.editDict.originWords)
} else {
let url = `./dicts/${runtimeStore.editDict.language}/${runtimeStore.editDict.type}/${runtimeStore.editDict.translateLanguage}/${runtimeStore.editDict.url}`;