优化
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user