fix(jd-order): 提交成功后关闭批量导入弹窗

- 在提交成功后调用handleCancel方法关闭弹窗
- 修复批量导入成功后弹窗未关闭的问题
This commit is contained in:
danial
2025-10-23 19:59:10 +08:00
parent 61b607a057
commit 5c8a1feeba

View File

@@ -377,6 +377,7 @@ const handleSubmit = async (): Promise<boolean> => {
Message.success(successMessage);
emit('success');
handleCancel();
return true;
} catch (error) {
Message.error('批量添加失败');