fix(): 修复数据字典,列表列宽占比问题

master
DongZeLiang 2024-04-22 16:12:15 +08:00
parent ff86aeee9a
commit 971e4e966e
1 changed files with 2 additions and 2 deletions

View File

@ -49,13 +49,13 @@
<span>{{key}}</span>
</div>
<el-table :data="val" style="width: 100%" height="280px">
<el-table-column prop="label" label="标签" width="180">
<el-table-column prop="label" label="标签">
<template slot-scope="scope">
<span v-if="!scope.row.isEdit">{{scope.row.label}}</span>
<el-input v-if="scope.row.isEdit" v-model="scope.row.label" size="mini"></el-input>
</template>
</el-table-column>
<el-table-column prop="val" label="值" width="180">
<el-table-column prop="val" label="值">
<template slot-scope="scope">
<span v-if="!scope.row.isEdit">{{scope.row.val}}</span>
<el-input v-if="scope.row.isEdit" v-model="scope.row.val" size="mini"></el-input>