fix: 🧩 修复bug
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//更新
|
//更新
|
||||||
|
|||||||
Reference in New Issue
Block a user