Update index.ts

This commit is contained in:
Zyronon
2025-08-12 14:25:14 +08:00
committed by GitHub
parent e85a5e1d21
commit 6463e08884

View File

@@ -51,6 +51,8 @@ export function checkAndUpgradeSaveDict(val: any) {
return defaultState
} else {
if (version === 3) {
localStorage.setItem('type-word-dict-v3',JSON.stringify(state))
let studyDictId = ''
if (state.current.index >= 0) {
let dict = state.myDictList[state.current.index]