From cde6a4483669805fee8457d16a5a22844593b521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Fri, 23 Jun 2023 14:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=20`upload`=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E4=B9=A6=E5=86=99=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/upload.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/upload.js b/src/modules/upload.js index 2f588942..cfea6032 100644 --- a/src/modules/upload.js +++ b/src/modules/upload.js @@ -53,7 +53,6 @@ layui.define(['lay','layer'], function(exports){ var ELEM_CHOOSE = 'layui-upload-choose'; var ELEM_DRAG = 'layui-upload-drag'; - // 构造器 var Class = function(options){ var that = this; @@ -152,8 +151,8 @@ layui.define(['lay','layer'], function(exports){ //异常提示 Class.prototype.msg = function(content){ return layer.msg(content, { - icon: 2 - ,shift: 6 + icon: 2, + shift: 6 }); };