更新 upload 用例

pull/1368/head
贤心 2023-09-11 09:53:16 +08:00
parent a00ecf2914
commit 3a27df77cc
1 changed files with 2 additions and 2 deletions

View File

@ -191,10 +191,10 @@ layui.use(['upload', 'element'], function(){
url: 'https://httpbin.org/post',
accept: 'file',
multiple: true,
number: 3,
number: 5,
auto: false,
bindAction: '#testListAction',
size: 30,
// size: 30,
choose: function(obj){
var files = this.files = obj.pushFile(); // 将每次选择的文件追加到文件队列
//读取本地文件