Commit 353e5877 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商列表问题修复

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