Browse Source

UI样式bug

hella_online_20240821
wangyufei 3 months ago
parent
commit
f6a1f67331
  1. 5
      src/components/CollectionTable/src/CollectionTable.vue

5
src/components/CollectionTable/src/CollectionTable.vue

@ -2,11 +2,12 @@
<el-checkbox-group v-model="checkList" @change="checkChange"> <el-checkbox-group v-model="checkList" @change="checkChange">
<el-checkbox v-for="item in fields.filter(item=>item.checkBoxOption)" :label="item.label" :value="item.label" :disabled="item.checkedDisabled"/> <el-checkbox v-for="item in fields.filter(item=>item.checkBoxOption)" :label="item.label" :value="item.label" :disabled="item.checkedDisabled"/>
</el-checkbox-group> </el-checkbox-group>
<el-table v-clientTableForm="{ <!-- v-clientTableForm="{
isShowPagination:false, isShowPagination:false,
isShowButton: false, isShowButton: false,
isFullscreen:isFullscreen isFullscreen:isFullscreen
}" class="collection" :data="showList" border :style="{width:tableWidth+'px'}"> }" -->
<el-table class="collection" :data="showList" border :style="{width:tableWidth+'px'}">
<el-table-column type="index" width="60" label="序号" align="center"/> <el-table-column type="index" width="60" label="序号" align="center"/>
<el-table-column border row-key="id" <el-table-column border row-key="id"
v-for="headerItem in fields.filter((item) => !!item.checked)" v-for="headerItem in fields.filter((item) => !!item.checked)"

Loading…
Cancel
Save