Skip to content

Commit

Permalink
fix: 修复投票题问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoooooo committed Sep 23, 2024
1 parent 0ea1d81 commit 8bece51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/materials/questions/widgets/VoteModule/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -116,7 +116,7 @@ const meta = {
label: '至少选择数',
type: 'InputNumber',
key: 'minNum',
value: '',
value: 0,
min: 0,
max: (moduleConfig) => {
return moduleConfig?.maxNum || 0
Expand All @@ -127,7 +127,7 @@ const meta = {
label: '最多选择数',
type: 'InputNumber',
key: 'maxNum',
value: '',
value: 0,
min: (moduleConfig) => {
return moduleConfig?.minNum || 0
},
Expand Down

0 comments on commit 8bece51

Please sign in to comment.