优化:提高警告框停留时间

pull/883/head
ChenX 5 years ago
parent af25d1e89e
commit 2b9f0b8fb6

@ -65,7 +65,7 @@ export async function Post(url: string, body?: BodyInit, isShowErrMsg = true): P
AppToaster.show({
message: result.err_msg,
intent: Intent.WARNING,
timeout: 2000
timeout: 8888
}, "44444");
case RequestStatus.NoLogin:
localStorage.setItem(StoreageKeys.IsLogin, "");
@ -87,7 +87,7 @@ export async function Post(url: string, body?: BodyInit, isShowErrMsg = true): P
AppToaster.show({
message: result.err_msg,
intent: Intent.DANGER,
timeout: 2000
timeout: 8888
});
}

Loading…
Cancel
Save