Commit 195d4af514b1f5f17f053b581fc3a2f1d9497a9a

Authored by Rui Ma
1 parent c70ff0f2

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="style">
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">
... ...