【FIX】修改输入框内容不符合规则的提示语

This commit is contained in:
勾通
2025-11-12 09:36:24 +08:00
parent e52ae24c12
commit f72552399c

View File

@@ -92,7 +92,7 @@
class="budget-input"
>
</template>
<div class="fs12 c-gray-base">请填写1-10000之间的整数</div>
<div class="fs12 c-gray-base">请填写0-10000之间的整数</div>
</p>
</div>
</div>
@@ -664,7 +664,7 @@ export default {
let regex = /^(0|[1-9]\d{0,3}|10000)$/;
if(Array.from(this.answerList[3]).some(item=>{return !regex.test(item)})
|| !regex.test(this.answerList[4][0])){
return this.$toast('请填写1-10000之间的整数')
return this.$toast('请填写0-10000之间的整数')
}
this.checkDataChanged()
this.getEvaluateResult()