fix:Failed to import words

This commit is contained in:
Zyronon
2025-12-21 00:01:28 +08:00
parent fe219cdb36
commit 8874689176

View File

@@ -336,12 +336,18 @@ function importData(e) {
tableRef.value.closeImportDialog()
e.target.value = ''
importLoading = false
allList = runtimeStore.editDict.words
tableRef.value.getData()
syncDictInMyStudyList()
Toast.success('导入成功!')
}
)
} else {
tableRef.value.closeImportDialog()
e.target.value = ''
importLoading = false
allList = runtimeStore.editDict.words
tableRef.value.getData()
syncDictInMyStudyList()
Toast.success('导入成功!')
}