From 75286691884c9aa66a6ae04c6e8c3a1f2e194a9d Mon Sep 17 00:00:00 2001 From: websir Date: Fri, 8 Dec 2017 14:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5HTML=E5=BE=97accpet=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用于点击上传按钮后 打开系统文件框时, 默认的文件筛选 例: 上传图片: accpet="image/*" --- src/lay/modules/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lay/modules/upload.js b/src/lay/modules/upload.js index d87e1a1..49a5aa2 100644 --- a/src/lay/modules/upload.js +++ b/src/lay/modules/upload.js @@ -88,7 +88,7 @@ layui.define('layer' , function(exports){ var that = this ,options = that.config ,elemFile = that.elemFile = $([ - '' ].join(''))