46ecd3f7 by yangjianbin

init

1 parent 6a8026ab
......@@ -78,10 +78,6 @@
<script>
function save() {
window.parent.location.reload();
layer_close();
return;
var targetUrl = $("#add").attr("action");
var data = $("#add").serializeJson();
$.ajax({
......@@ -100,8 +96,8 @@
layer.alert('请求成功');
}
if(!data.code) {
layer_close();
window.parent.location.reload();
layer_close();
}
},
error: function () {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!