fix(): 修复数据字典,列表列宽占比问题
parent
ff86aeee9a
commit
971e4e966e
|
@ -49,13 +49,13 @@
|
||||||
<span>{{key}}</span>
|
<span>{{key}}</span>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="val" style="width: 100%" height="280px">
|
<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">
|
<template slot-scope="scope">
|
||||||
<span v-if="!scope.row.isEdit">{{scope.row.label}}</span>
|
<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>
|
<el-input v-if="scope.row.isEdit" v-model="scope.row.label" size="mini"></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="val" label="值" width="180">
|
<el-table-column prop="val" label="值">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="!scope.row.isEdit">{{scope.row.val}}</span>
|
<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>
|
<el-input v-if="scope.row.isEdit" v-model="scope.row.val" size="mini"></el-input>
|
||||||
|
|
Loading…
Reference in New Issue