Commit 06554053db1dac41e511321b6ce8cb59f2c0ba70

Authored by Aresn
Committed by GitHub
2 parents cbcfafc9 195d4af5

Merge pull request #922 from stenote/patch-1

click transfer's title to toggle select status
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/transfer/list.vue
... ... @@ -2,7 +2,7 @@
2 2 <div :class="classes" :style="listStyle">
3 3 <div :class="prefixCls + '-header'">
4 4 <Checkbox :value="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
5   - <span>{{ title }}</span>
  5 + <span @click="toggleSelectAll(!checkedAll)">{{ title }}</span>
6 6 <span :class="prefixCls + '-header-count'">{{ count }}</span>
7 7 </div>
8 8 <div :class="bodyClasses">
... ...