This commit is contained in:
sentsin
2017-11-27 23:44:54 +08:00
parent 33e7e9ac23
commit ec2c430d2b
34 changed files with 104 additions and 54 deletions

View File

@@ -186,7 +186,7 @@ layui.use('table', function(){
,limit: 30
,toolbar: '#toolbarDemo'
,cols: [[
{checkbox:true, fixed: 'left'}
{type: 'checkbox', fixed: 'left'}
,{field:'id', title:'ID', width:80, fixed: 'left', unresize: true, sort: true}
,{field:'username', title:'用户名', width:120, edit: 'text', templet: '#usernameTpl'}
,{field:'email', title:'邮箱', width:150}

View File

@@ -119,6 +119,7 @@ layui.use('upload', function(){
elem: '#test2'
,url: ''
,multiple: true
//,number: 3
,size: 1024
,before: function(obj){
//预读本地文件示例不支持ie8