|
|
@@ -4401,7 +4401,7 @@ export default {
|
|
|
this.$set(itemData, 'answerValue', value);
|
|
|
if (value) {
|
|
|
// 最大值
|
|
|
- let maxValue = item.collectionOptionList[0].maxValue;
|
|
|
+ let maxValue = item.collectionOptionList[0].maxValue.toString();
|
|
|
if (maxValue && maxValue != '') {
|
|
|
if (value > Number(maxValue)) {
|
|
|
this.$set(itemData, 'ruleMessage', '最大值为:' + maxValue);
|
|
|
@@ -4412,7 +4412,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
//最小值
|
|
|
- let minValue = item.collectionOptionList[0].minValue;
|
|
|
+ let minValue = item.collectionOptionList[0].minValue.toString();
|
|
|
if (minValue && minValue != '') {
|
|
|
if (value < Number(minValue)) {
|
|
|
this.$set(itemData, 'ruleMessage', '最小值为:' + minValue);
|