fix: 修复投票题问题

This commit is contained in:
sudoooooo 2024-09-23 14:22:35 +08:00
parent 0ea1d81ad3
commit 8bece51a20

View File

@ -74,13 +74,13 @@ const meta = {
name: 'minNum',
propType: Number,
description: '最少选择数',
defaultValue: 1
defaultValue: 0
},
{
name: 'maxNum',
propType: Number,
description: '最多选择数',
defaultValue: 1
defaultValue: 0
}
],
formConfig: [
@ -116,7 +116,7 @@ const meta = {
label: '至少选择数',
type: 'InputNumber',
key: 'minNum',
value: '',
value: 0,
min: 0,
max: (moduleConfig) => {
return moduleConfig?.maxNum || 0
@ -127,7 +127,7 @@ const meta = {
label: '最多选择数',
type: 'InputNumber',
key: 'maxNum',
value: '',
value: 0,
min: (moduleConfig) => {
return moduleConfig?.minNum || 0
},