fix: 修复投票题问题
This commit is contained in:
parent
0ea1d81ad3
commit
8bece51a20
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user