设置超时时间

This commit is contained in:
liang.chao 2025-04-14 16:24:54 +08:00
parent d0f74a4d5f
commit 22ccfcf2c4
1 changed files with 21 additions and 19 deletions

View File

@ -220,6 +220,7 @@ function setProjectValue(data) {
// 根据id获取用户信息
function getUserById() {
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: true, time: 0,});
setTimeout(() => {
let url = dataUrl + "/users/getById";
let params = {
id: idParam
@ -240,6 +241,7 @@ function getUserById() {
layer.close(loadingMsg); // 关闭提示层
error(xhr)
});
}, 100)
}
// 设置表单内容