diff --git a/web/src/materials/questions/widgets/VoteModule/meta.js b/web/src/materials/questions/widgets/VoteModule/meta.js index ed344dd0..c5a217b1 100644 --- a/web/src/materials/questions/widgets/VoteModule/meta.js +++ b/web/src/materials/questions/widgets/VoteModule/meta.js @@ -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 },