Commit 6c8ab0cb authored by 皮倩雯's avatar 皮倩雯

fix: '解决web配置删除网站后编辑回显bug'

parent 21bc9d3b
Pipeline #49772 skipped with stages
...@@ -153,7 +153,7 @@ const WebConfigPage = props => { ...@@ -153,7 +153,7 @@ const WebConfigPage = props => {
}); });
// updateModuleTree(userMode || 'super'); // updateModuleTree(userMode || 'super');
if (webToOperate.id === curWeb.id) { if (webToOperate.id === curWeb.id) {
setCurWeb(webs[0].id); setCurWeb(webs[0]);
} }
// setTimeout(() => { // setTimeout(() => {
updateModuleTree(userMode || 'super'); updateModuleTree(userMode || 'super');
......
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