chore: update

This commit is contained in:
贤心
2021-05-18 03:58:53 +08:00
parent fc09eef635
commit 823a622c77
3 changed files with 7 additions and 3 deletions

View File

@@ -342,8 +342,8 @@ layui.define('layer' , function(exports){
}
}
//上传前的回调
options.before && options.before(args);
//上传前的回调 - 如果回调函数明确返回false则停止上传(#pulls55)
if(options.before && (options.before(args) === false)) return;
//IE兼容处理
if(device.ie){