Commit 1bef0bd3 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商编辑模块bug修复

parent 18f07ced
......@@ -72,7 +72,7 @@ const Edit = (props: any) => {
// 处理服务范围数据
optionsList.forEach((v, index) => {
if (v.serviceName === SaveChooseData.serviceScope) {
SaveChooseData.serviceScopeList[index] = v.serviceCode;
SaveChooseData.serviceScopeList[0] = v.serviceCode;
}
});
} else {
......@@ -87,7 +87,6 @@ const Edit = (props: any) => {
}
formRef.current.setFieldsValue(SaveChooseData);
console.log(SaveChooseData);
}
}, [SaveChooseData]);
......
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