mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 23:27:17 +08:00
特性(插件中心):优化首页显示开关显示
This commit is contained in:
@@ -171,6 +171,9 @@
|
||||
if (res.code === 0) {
|
||||
layer.msg('设置成功', {icon: 1, time: 1000});
|
||||
} else {
|
||||
// 还原开关状态
|
||||
obj.elem.checked = !obj.elem.checked;
|
||||
form.render('checkbox');
|
||||
layer.msg(res.msg, {icon: 2, time: 1000});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user