研发图纸文件管理系统-前端项目
iczer
2020-07-31 182ea21a29ca9e33c6318f73d04661d147afc6c6
fix: the problem that can't hide check box of StandardTable.vue; :bug:
修复:StandardTable.vue 组件不能隐藏勾选框的问题;
1个文件已修改
4 ■■■■ 已修改文件
src/components/table/StandardTable.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/StandardTable.vue
@@ -1,7 +1,7 @@
<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">
          已选择&nbsp;<a>{{selectedRows.length}}</a>&nbsp;项 <a class="clear" @click="onClear">清空</a>
          <template  v-for="(item, index) in needTotalList" >
@@ -21,7 +21,7 @@
      :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>