字段新增、编辑添加长度限制,最大50个字符
This commit is contained in:
@@ -94,7 +94,7 @@ export default {
|
||||
title: '#',
|
||||
dataIndex: '',
|
||||
key: 'rowIndex',
|
||||
width: 120,
|
||||
width: 50,
|
||||
align: 'center',
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
@@ -119,6 +119,7 @@ export default {
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
width: 220,
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
],
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
:wrapperCol="wrapperCol"
|
||||
prop="itemValue"
|
||||
label="数据值">
|
||||
<a-input placeholder="请输入数据值" v-model="model.itemValue" />
|
||||
<a-input placeholder="请输入数据值" :maxLength="50" v-model="model.itemValue" />
|
||||
</a-form-model-item>
|
||||
|
||||
<a-form-model-item
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
prop="dictName"
|
||||
required
|
||||
label="字典名称">
|
||||
<a-input placeholder="请输入字典名称" v-model="model.dictName"/>
|
||||
<a-input placeholder="请输入字典名称" :maxLength="50" v-model="model.dictName"/>
|
||||
</a-form-model-item>
|
||||
|
||||
<a-form-model-item
|
||||
@@ -26,7 +26,7 @@
|
||||
prop="dictCode"
|
||||
required
|
||||
label="字典编码">
|
||||
<a-input placeholder="请输入字典编码" v-model="model.dictCode"/>
|
||||
<a-input placeholder="请输入字典编码" :maxLength="50" v-model="model.dictCode"/>
|
||||
</a-form-model-item>
|
||||
|
||||
<a-form-model-item
|
||||
|
||||
Reference in New Issue
Block a user