commit
This commit is contained in:
@@ -883,7 +883,7 @@ layout("/layouts/platform.html"){
|
||||
const sum = selectNums.reduce((accumulator, currentValue) => accumulator + currentValue, 0)
|
||||
|
||||
if (sum > multiSelectNum) {
|
||||
this.$set(this.welfareOptions[optionIndex], 'selectNum', value - 1)
|
||||
this.$set(this.welfareOptions[optionIndex], 'selectNum', multiSelectNum)
|
||||
this.$message('此次福利最多只能选择' + multiSelectNum + '份');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user