摘要: 全局配置一个ajax的错误监控,比如$(document).ajaxError(function(evt, req, settings){ if(req && (req.status 200||req.status 0)){ return false; } var msg = '错误:'; if(r 阅读全文
posted @ 2017-05-04 16:44 boyanh 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 1 $(function(){ 2 $(".layui-progress").hide(); 3 $("[data-upload-file]").each(function(){ 4 $(this).click(function(){ 5 var url = "" ; 6 var f... 阅读全文
posted @ 2017-05-04 16:42 boyanh 阅读(1138) 评论(0) 推荐(0) 编辑