Commit 13fe790d by 肖康

x

parent ae036501
Showing with 3 additions and 1 deletions
...@@ -358,7 +358,8 @@ var tag={ ...@@ -358,7 +358,8 @@ var tag={
$(".edit-con .gezi").remove(); $(".edit-con .gezi").remove();
$(".edit-con .huabuitem").removeClass("act"); $(".edit-con .huabuitem").removeClass("act");
$(".edit-con").removeClass("init-border"); $(".edit-con").removeClass("init-border");
obj.html=$(".edit-box").html(); obj.html=String($(".edit-box").html());
console.log(obj.html)
obj.designName=$(".designName").val() obj.designName=$(".designName").val()
$.ajax({ $.ajax({
url : '/ajax/add_template', url : '/ajax/add_template',
...@@ -367,6 +368,7 @@ var tag={ ...@@ -367,6 +368,7 @@ var tag={
success: function(resp) { success: function(resp) {
if (resp.err_code == 0) { if (resp.err_code == 0) {
layer.msg("提交成功",{time:2000}); layer.msg("提交成功",{time:2000});
} }
}, },
error: function(err) { 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