diff --git a/target/classes/templates/pages/group/group_edit_mobile.html b/target/classes/templates/pages/group/group_edit_mobile.html index 9853df6a..1ec940d5 100644 --- a/target/classes/templates/pages/group/group_edit_mobile.html +++ b/target/classes/templates/pages/group/group_edit_mobile.html @@ -15,6 +15,7 @@
+
@@ -132,27 +133,31 @@ // 用于修改组合名称 editGroupName = function (obj) { - let gid = $("#gid").val(); - let gname = obj.value; - let req = {}; - req.id = gid; - req.gname = gname; - $.ajax({ - url: '/group/editGroupInfo', - dataType: "json", - type: "post", - data: JSON.stringify(req), - contentType: "application/json;charset=utf-8", - success: function (data) { - if (data.status >= 300) { - layer.msg(data.statusInfo.message);//失败的表情 - - } else { + let display = $("#display").val(); + if(display !== "none"){ + let gid = $("#gid").val(); + let gname = obj.value; + let req = {}; + req.id = gid; + req.gname = gname; + $.ajax({ + url: '/group/editGroupInfo', + dataType: "json", + type: "post", + data: JSON.stringify(req), + contentType: "application/json;charset=utf-8", + success: function (data) { + if (data.status >= 300) { + layer.msg(data.statusInfo.message);//失败的表情 + + } else { + } } - } - }); + }); + } + }; // 用于修改组合备注