Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/2e7238bb85591abd5dee04d3465f1db6346e7deb?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
@ -307,10 +307,10 @@
function submitHandler() {
function submitHandler() {
if ($.validate.form()) {
if ($.validate.form()) {
var data = $("#form-user-edit").serializeArray();
var data = $("#form-user-edit").serializeArray();
var status = $("input[id='status']").is(':checked') == true ? 0 : 1;
/* var status = $("input[id='status']").is(':checked') == true ? 0 : 1;*/
var roleIds = $.form.selectCheckeds("role");
var roleIds = $.form.selectCheckeds("role");
var postIds = $.form.selectSelects("post");
var postIds = $.form.selectSelects("post");
data.push({"name": "status", "value": status});
/* data.push({"name": "status", "value": status});*/
data.push({"name": "roleIds", "value": roleIds});
data.push({"name": "roleIds", "value": roleIds});
data.push({"name": "postIds", "value": postIds});
data.push({"name": "postIds", "value": postIds});
$.operate.saveTab(prefix + "/edit", data);
$.operate.saveTab(prefix + "/edit", data);