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

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