aa86f345 by wang

init

1 parent 3b1fe8ff
......@@ -83,6 +83,7 @@
function save() {
var targetUrl = $("#add").attr("action");
var data = $("#add").serializeJson();
console.log(JSON.stringify(data));
$.ajax({
type: 'put',
url: apiBaseUrl + targetUrl,
......@@ -100,8 +101,8 @@
}
setTimeout(function () {
if(!data.code) {
window.parent.reload();
layer_close();
// window.parent.reload();
// layer_close();
}
},500);
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!