v2.9update

This commit is contained in:
2026-06-08 10:40:59 +08:00
parent 8d497d73d2
commit 70e7ad8e5e
20 changed files with 162 additions and 74 deletions

View File

@@ -38,8 +38,12 @@
});
if (res && res.success) {
let msg = `管理员 ${res.data.username} 添加成功`;
if (res.data.password) msg += `,密码: ${res.data.password}`;
let msg;
if (res.data.password) {
msg = `管理员 ${res.data.username} 添加成功,密码: ${res.data.password}`;
} else {
msg = `管理员 ${res.data.username} 已重新激活(原密码不变)`;
}
showToast(msg);
closeModal('addAdminModal');
loadAdmins();