|
@@ -206,7 +206,7 @@ async function handleImport() {
|
|
message.warn({ content: "请选择文件" });
|
|
message.warn({ content: "请选择文件" });
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ (document.querySelector("#file-input") as HTMLInputElement).value = "";
|
|
const res = await importQuestionGroups(props.projectId, fileToImport);
|
|
const res = await importQuestionGroups(props.projectId, fileToImport);
|
|
if (!res.data.hasError) {
|
|
if (!res.data.hasError) {
|
|
importModalVisible = false;
|
|
importModalVisible = false;
|