update Table

update Table
This commit is contained in:
梁灏 2016-11-28 16:53:19 +08:00
parent 731d69a29a
commit 35ad37642d
3 changed files with 77 additions and 54 deletions

View file

@ -19,7 +19,8 @@
@on-current-change="current"
@on-select="select"
@on-selection-change="schange"
@on-select-all="sall">
@on-select-all="sall"
@on-sort-change="sortChange">
<!--<div slot="header">表格标题</div>-->
<!--<div slot="footer">表格标题</div>-->
</i-table>
@ -48,6 +49,7 @@
key: 'name',
align: 'left',
fixed: 'left',
sortable: true,
width: 100
},
{
@ -146,6 +148,9 @@
} else {
return '';
}
},
sortChange (data) {
console.log(data)
}
},
ready () {