Commit 2bec96f8 authored by dragondean@qq.com's avatar dragondean@qq.com

优化第一阶梯起始值校验

parent 2220482b
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
const index = this.index const index = this.index
const errors = [] const errors = []
// 区间设置检查 // 区间设置检查
if(index > 0 && !this.value.startNum){ if(typeof this.value.startNum != "number"){
errors.push(this.$t("请设置{priceName}第{index}阶段的起始值", { errors.push(this.$t("请设置{priceName}第{index}阶段的起始值", {
index: index + 1, index: index + 1,
priceName: this.priceName priceName: this.priceName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment