Commit 298c3429 authored by 皮倩雯's avatar 皮倩雯

fix: '产品配置回显bug'

parent 1a15e10e
......@@ -48,14 +48,14 @@ const EditForm = props => {
setBut(true);
form.setFieldsValue({ ...productObj });
if (aa) {
form.setFieldsValue({ DefaultSetting: aa.DefaultSetting });
form.setFieldsValue({ DefaultSetting: aa.DefaultSetting, RouteUrl: aa.RouteUrl });
}
} else {
console.log(34);
setBut(false);
form.setFieldsValue({ ...productObj });
if (aa) {
form.setFieldsValue({ DefaultSetting: aa.DefaultSetting });
form.setFieldsValue({ DefaultSetting: aa.DefaultSetting, RouteUrl: aa.RouteUrl });
}
}
};
......
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