fix: the problem that can't hide check box of StandardTable.vue; :bug:
修复:StandardTable.vue 组件不能隐藏勾选框的问题;
| | |
| | | <template> |
| | | <div class="standard-table"> |
| | | <div class="alert"> |
| | | <a-alert type="info" :show-icon="true"> |
| | | <a-alert type="info" :show-icon="true" v-if="selectedRows"> |
| | | <div class="message" slot="message"> |
| | | 已选择 <a>{{selectedRows.length}}</a> 项 <a class="clear" @click="onClear">清空</a> |
| | | <template v-for="(item, index) in needTotalList" > |
| | |
| | | :rowKey="rowKey" |
| | | :pagination="pagination" |
| | | @change="onChange" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: updateSelect}" |
| | | :rowSelection="selectedRows ? {selectedRowKeys: selectedRowKeys, onChange: updateSelect} : undefined" |
| | | > |
| | | <template slot-scope="text, record, index" :slot="slot" v-for="slot in scopedSlots"> |
| | | <slot :name="slot" v-bind="{text, record, index}"></slot> |