记得上下班打卡 | git大法好,push需谨慎

Commit f293f2fc authored by xuchen's avatar xuchen

修改小家伙

parent 8f5d0af7
......@@ -212,11 +212,16 @@
headers:{"Content-Type":"application/json;charset=UTF-8"},
data: JSON.stringify(postData),
success:function(e) {
console.log(e)
if(e.code === 301){
$.modal.msg(e.msg)
}else{
$(".layui-layer-close1").click();
refreshItem();
$('.required-group-text').val('');
$('.required-province-text').val('');
}
}
})
} else { // create
// postData.areaId = 0;
......@@ -226,9 +231,13 @@
headers:{"Content-Type":"application/json;charset=UTF-8"},
data: JSON.stringify(postData),
success:function(e) {
if(e.code === 301){
$.modal.msg(e.msg)
}else{
$(".layui-layer-close1").click();
refreshItem();
}
}
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment