From 8874689176d3f8a7474fe81640db98c0886040fe Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sun, 21 Dec 2025 00:01:28 +0800 Subject: [PATCH] fix:Failed to import words --- src/pages/word/DictDetail.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/word/DictDetail.vue b/src/pages/word/DictDetail.vue index 1a52a9f4..4eaf4f46 100644 --- a/src/pages/word/DictDetail.vue +++ b/src/pages/word/DictDetail.vue @@ -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('导入成功!') }