Table columns add className

Table columns add className
This commit is contained in:
梁灏 2017-01-10 16:33:44 +08:00
parent 1b7aefeab2
commit f9f1865ca5
6 changed files with 72 additions and 393 deletions

View file

@ -5,7 +5,7 @@
</colgroup>
<thead>
<tr>
<th v-for="(index, column) in columns" :class="alignCls(column)">
<th v-for="(index, column) in columns" :class="alignCls(column, 'head')">
<div :class="cellClasses(column)">
<template v-if="column.type === 'selection'"><Checkbox :checked="isSelectAll" @on-change="selectAll"></Checkbox></template>
<template v-else>