字段新增、编辑添加长度限制,最大50个字符

This commit is contained in:
zer0Black
2023-07-29 11:09:23 +08:00
parent a38c5a2c7d
commit 5b55eddbc4
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -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' }
}
],