Commit a360d2be by 肖康

阿萨德

parent 13fe790d
Showing with 8 additions and 2 deletions
......@@ -358,8 +358,8 @@ var tag={
$(".edit-con .gezi").remove();
$(".edit-con .huabuitem").removeClass("act");
$(".edit-con").removeClass("init-border");
obj.html=String($(".edit-box").html());
console.log(obj.html)
obj.htmlp=String($(".edit-box").html());
console.log(obj.htmlp)
obj.designName=$(".designName").val()
$.ajax({
url : '/ajax/add_template',
......@@ -368,7 +368,13 @@ var tag={
success: function(resp) {
if (resp.err_code == 0) {
layer.msg("提交成功",{time:2000});
setTimeout(function(){
window.location.href="/web/labelList"
},2000)
}else{
layer.msg(resp.err_msg,{time:2000});
tag.editUi();
}
},
error: function(err) {
......
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 sign in to comment