fix: 模板关联用例默认值列宽太小
This commit is contained in:
parent
4b1d62c3ee
commit
14468c6dd1
|
@ -1,7 +1,8 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue