0bcbe1ee by yangjianbin

init

1 parent 0675346c
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 }); 59 });
60 $("#work_add_btn").click(function(){ 60 $("#work_add_btn").click(function(){
61 var targetUrl = $("#work_add").attr("action"); 61 var targetUrl = $("#work_add").attr("action");
62 var data = $("#work_add").serialize(); 62 var data = $("#work_add").serializeJson();
63 $.ajax({ 63 $.ajax({
64 type:'post', 64 type:'post',
65 url:apiBaseUrl + targetUrl, 65 url:apiBaseUrl + targetUrl,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!