Commit b7d3b448 by 孙龙

up

parent bb922e45
...@@ -337,13 +337,14 @@ ...@@ -337,13 +337,14 @@
$("#postForm").ajaxSubmit({ $("#postForm").ajaxSubmit({
url: "/msgapi/updateMsgExcel", url: "/msgapi/updateMsgExcel",
type: "post", type: "post",
dataType: "json",
enctype:'multipart/form-data', enctype:'multipart/form-data',
success: function(data) { success: function(data) {
alert(data.errmsg) layer.msg(data.errmsg);
} }
}); });
layer.msg('提交中...', {icon: 16, time: 0, shade: 0.3}); // 阻止重复提交 layer.msg('提交中...', {icon: 16, time: 0.3, shade: 0.3}); // 阻止重复提交
// var index = layer.load(0, {shade: false}); // var index = layer.load(0, {shade: false});
}); });
}); });
......
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