fix: UDM用户数据加载速度优化并提示时间

This commit is contained in:
TsMask
2024-11-08 10:47:39 +08:00
parent 0644e49161
commit 5614be7877
6 changed files with 10 additions and 8 deletions

View File

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