From c6bf264fd5a4aaa4bbac63d84630e71f3587e517 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, 19 May 2023 17:42:34 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20upload=20=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=B1=BB=E5=9E=8B=E7=9A=84=20`.svg`=20=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/upload.js b/src/modules/upload.js index 78b972fc..23b51f4f 100644 --- a/src/modules/upload.js +++ b/src/modules/upload.js @@ -399,7 +399,7 @@ layui.define(['lay','layer'], function(exports){ break; default: //图片文件 layui.each(value, function(i, item){ - if(!RegExp('.\\.('+ (exts || 'jpg|png|gif|bmp|jpeg') +')$', 'i').test(escape(item))){ + if(!RegExp('.\\.('+ (exts || 'jpg|png|gif|bmp|jpeg|svg') +')$', 'i').test(escape(item))){ return check = true; } }); From 2de30ea10025764bcd51ee687bdc868b02dfcc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Sat, 20 May 2023 23:59:08 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20table=20=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E7=9A=84=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/table-test-border.html | 148 ++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 examples/table-test-border.html diff --git a/examples/table-test-border.html b/examples/table-test-border.html new file mode 100644 index 00000000..850ec95e --- /dev/null +++ b/examples/table-test-border.html @@ -0,0 +1,148 @@ + + +
+ + ++ 无统计、无分页 ++ +
+ 有统计、无分页 ++ +
+ 无统计、有分页 ++ +
+ 有统计、有分页 ++ +