fix: UDM鉴权重载提示不关闭

This commit is contained in:
TsMask
2024-06-18 15:41:47 +08:00
parent ce06a88e89
commit 8f3cce52c0

View File

@@ -591,11 +591,11 @@ function fnLoadData() {
resetUDMAuth(neId).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
const num = res.data;
const timerS = Math.ceil(+num / 2500);
const timerS = Math.ceil(+num / 2500) + 1;
notification.success({
message: t('views.neUser.auth.loadData'),
description: t('views.neUser.auth.loadDataTip', { num }),
duration: Math.ceil(+num / 2500),
duration: timerS,
});
// 延迟10s后关闭loading刷新列表
setTimeout(() => {