This commit is contained in:
zds
2022-12-05 09:19:29 +08:00
parent a9157637a9
commit f5941fb77e

View File

@@ -49,8 +49,8 @@
>
<el-table-column type="index" label="序号" width="100" align="center" fixed />
<template v-for="(col,index) in cols">
<el-table-column v-if="col.prop !== '1'" :prop="col.prop" :label="col.label" width="120px" show-overflow-tooltip />
<el-table-column v-if="col.prop === '1'" :prop="col.prop" :label="col.label" width="120px" show-overflow-tooltip fixed />
<el-table-column v-if="col.prop !== '1'" :prop="col.prop" :label="col.label" width="120px" />
<el-table-column v-if="col.prop === '1'" :prop="col.prop" :label="col.label" width="120px" fixed />
</template>
</el-table>