fix: 🧩 修复bug

This commit is contained in:
2025-10-17 17:25:38 +08:00
parent eea0925899
commit e8dc354c10

View File

@@ -74,7 +74,6 @@ const handleAdd = () => {
} }
}; };
const handleGoList = () => { const handleGoList = () => {
detailsRef?.value?.formElement?.resetFields();
setTimeout(() => { setTimeout(() => {
$router.replace({ path: "/foundation/subscribe/list/index" }); $router.replace({ path: "/foundation/subscribe/list/index" });
$Bus.emit("setResetList"); $Bus.emit("setResetList");
@@ -88,6 +87,8 @@ const getSubscribeAdd = async (params: any) => {
useMsg("success", "新增成功 "); useMsg("success", "新增成功 ");
dataStore.ruleForm = cloneDeep(RULE_FORM); dataStore.ruleForm = cloneDeep(RULE_FORM);
dataStore.ruleForm.org_number = ["101"]; dataStore.ruleForm.org_number = ["101"];
detailsRef?.value?.formElement?.resetFields();
handleGoList();
} }
}; };
//更新 //更新