Merge pull request #922 from stenote/patch-1

click transfer's title to toggle select status
This commit is contained in:
Aresn 2017-05-26 10:08:12 +08:00 committed by GitHub
commit 06554053db

View file

@ -2,7 +2,7 @@
<div :class="classes" :style="listStyle">
<div :class="prefixCls + '-header'">
<Checkbox :value="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
<span>{{ title }}</span>
<span @click="toggleSelectAll(!checkedAll)">{{ title }}</span>
<span :class="prefixCls + '-header-count'">{{ count }}</span>
</div>
<div :class="bodyClasses">