fix: 修复投票题问题
This commit is contained in:
parent
3d5f04b4a8
commit
365bea25e1
@ -74,13 +74,13 @@ const meta = {
|
|||||||
name: 'minNum',
|
name: 'minNum',
|
||||||
propType: Number,
|
propType: Number,
|
||||||
description: '最少选择数',
|
description: '最少选择数',
|
||||||
defaultValue: 1
|
defaultValue: 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'maxNum',
|
name: 'maxNum',
|
||||||
propType: Number,
|
propType: Number,
|
||||||
description: '最多选择数',
|
description: '最多选择数',
|
||||||
defaultValue: 1
|
defaultValue: 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
formConfig: [
|
formConfig: [
|
||||||
@ -116,7 +116,7 @@ const meta = {
|
|||||||
label: '至少选择数',
|
label: '至少选择数',
|
||||||
type: 'InputNumber',
|
type: 'InputNumber',
|
||||||
key: 'minNum',
|
key: 'minNum',
|
||||||
value: '',
|
value: 0,
|
||||||
min: 0,
|
min: 0,
|
||||||
max: (moduleConfig) => {
|
max: (moduleConfig) => {
|
||||||
return moduleConfig?.maxNum || 0
|
return moduleConfig?.maxNum || 0
|
||||||
@ -127,7 +127,7 @@ const meta = {
|
|||||||
label: '最多选择数',
|
label: '最多选择数',
|
||||||
type: 'InputNumber',
|
type: 'InputNumber',
|
||||||
key: 'maxNum',
|
key: 'maxNum',
|
||||||
value: '',
|
value: 0,
|
||||||
min: (moduleConfig) => {
|
min: (moduleConfig) => {
|
||||||
return moduleConfig?.minNum || 0
|
return moduleConfig?.minNum || 0
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user