Commit c74234e0 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商提交错误提示修改

parent cc314693
......@@ -150,5 +150,11 @@ export default {
message.error('Deletion failed,Please try again');
}
},
*CurDataClear({ playload }: any, { call, put }: any) {
console.log('清除数据');
let CurData = null;
yield put({ type: 'returnCurData', CurData });
},
},
};
......@@ -66,6 +66,7 @@ const Edit = (props: any) => {
console.log(CurData);
if (CurData != null) {
setload(false);
dispatch({ type: 'ServiceProvider/CurDataClear', playload: {} });
}
}, [CurData]);
......
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