提交 14468c6d 编写于 作者: C chenjianxing 提交者: 刘瑞斌

fix: 模板关联用例默认值列宽太小

上级 4b1d62c3
<template>
<el-table-column
v-if="fields.has(prop) || fields.size < 1"
:min-width="width"
:min-width="minWidth"
:width="width"
:fixed="fixed"
:filters="filters"
:prop="prop"
......@@ -24,6 +25,7 @@ export default {
prop: String,
label: String,
width: String,
minWidth: String,
fixed: String,
// 排序列, 后端mapper处理filters
filters: Array,
......
......@@ -23,9 +23,12 @@
<ms-table-column
:label="'默认值'"
min-width="200"
prop="type">
<template v-slot="scope">
<custom-filed-component class="default-value-item" :data="scope.row" prop="defaultValue"/>
<el-scrollbar>
<custom-filed-component class="default-value-item" :data="scope.row" prop="defaultValue"/>
</el-scrollbar>
</template>
</ms-table-column>
......@@ -33,6 +36,7 @@
<ms-table-column
:label="'是否必填'"
width="80"
prop="type">
<template v-slot="scope">
<el-checkbox v-model="scope.row.required"/>
......@@ -41,6 +45,7 @@
<ms-table-column
:label="'系统字段'"
width="80"
prop="system">
<template v-slot="scope">
<span v-if="scope.row.system">
......@@ -136,5 +141,7 @@ export default {
</script>
<style scoped>
/*.default-value-item >>> .custom-with {*/
/* width: 207px;*/
/*}*/
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册