用户分组管理-【1113】-新增数据点击保存没有调用后端接口
Showing
1 changed file
with
2 additions
and
2 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; |
@@ -236,4 +236,4 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | @@ -236,4 +236,4 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl | ||
236 | }); | 236 | }); |
237 | }); | 237 | }); |
238 | }); | 238 | }); |
239 | -}); | ||
239 | +}); |
-
Please register or login to post a comment