mirror of https://github.com/layui/layui
更新 upload 用例
parent
a00ecf2914
commit
3a27df77cc
|
@ -191,10 +191,10 @@ layui.use(['upload', 'element'], function(){
|
||||||
url: 'https://httpbin.org/post',
|
url: 'https://httpbin.org/post',
|
||||||
accept: 'file',
|
accept: 'file',
|
||||||
multiple: true,
|
multiple: true,
|
||||||
number: 3,
|
number: 5,
|
||||||
auto: false,
|
auto: false,
|
||||||
bindAction: '#testListAction',
|
bindAction: '#testListAction',
|
||||||
size: 30,
|
// size: 30,
|
||||||
choose: function(obj){
|
choose: function(obj){
|
||||||
var files = this.files = obj.pushFile(); // 将每次选择的文件追加到文件队列
|
var files = this.files = obj.pushFile(); // 将每次选择的文件追加到文件队列
|
||||||
//读取本地文件
|
//读取本地文件
|
||||||
|
|
Loading…
Reference in New Issue