用户分组管理-【1113】-新增数据点击保存没有调用后端接口
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -198,7 +198,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | @@ -198,7 +198,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | ||
198 | }); | 198 | }); |
199 | userNames = contents.toString(); | 199 | userNames = contents.toString(); |
200 | // 表单提交事件 | 200 | // 表单提交事件 |
201 | - form.on('submit(form-usergroup-add)', function (data) { | 201 | + form.on('submit(btn-usergroup-submit)', function (data) { |
202 | Object.assign(usergroup, form.val('form-usergroup-add')); | 202 | Object.assign(usergroup, form.val('form-usergroup-add')); |
203 | //状态是否为开启 | 203 | //状态是否为开启 |
204 | usergroup.groupStatus= document.querySelector("#groupStatus_").checked? 0 : 1; | 204 | usergroup.groupStatus= document.querySelector("#groupStatus_").checked? 0 : 1; |
-
Please register or login to post a comment