Commit b7b8f2a4 authored by Maofei94's avatar Maofei94

fix: 删除失败

parent 4a3625ac
Pipeline #22682 passed with stages
in 19 minutes 5 seconds
...@@ -129,7 +129,11 @@ const WebConfigPage = props => { ...@@ -129,7 +129,11 @@ const WebConfigPage = props => {
message: `删除网站${webToOperate.text}成功!`, message: `删除网站${webToOperate.text}成功!`,
duration: 3, duration: 3,
}); });
// updateModuleTree(userMode || 'super');
setTimeout(() => {
updateModuleTree(userMode || 'super'); updateModuleTree(userMode || 'super');
}, 0);
} else { } else {
notification.error({ notification.error({
message: res.message || `删除网站 ${webToOperate.text} 失败`, message: res.message || `删除网站 ${webToOperate.text} 失败`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment