v2.9update

This commit is contained in:
canglan committed 2026-06-08 10:40:59 +08:00
1 parent 8d497d73d2
commit 70e7ad8e5e
20 files changed
+162 -74

No files matched your search

+6 -2
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();