Commit 353e5877 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商列表问题修复

parent a9d78365
......@@ -103,9 +103,8 @@ const Detail = (props: any) => {
setLoding(false);
if (Result) {
dispatch({ type: 'ServiceProvider/ResultClear' });
message.success('Logout successful!', 2, () => {
history.goBack();
});
message.success('Logout successful!', 2);
history.goBack();
} else {
message.error('Logout failed. Please try again!', 3);
dispatch({ type: 'ServiceProvider/ResultClear', playload: '' });
......
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