Commit cf04f334 authored by liwenhong's avatar liwenhong

fix:活动配置

parent b46a54fe
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
this.configForm.result.map((item, index) => (item.level = index + 1)); this.configForm.result.map((item, index) => (item.level = index + 1));
console.log("this.listParams.config", this.configForm.result); console.log("this.listParams.config", this.configForm.result);
if (!this.configForm.result[0]) return this.$message.error("请配置档位"); if (!this.configForm.result[0]) return this.$message.error("请配置档位");
else if (this.configForm.result.length && this.configForm.result.length > 2) { else if (this.configForm.result.length && this.configForm.result.length > 1) {
for (let i = 1; i < this.configForm.result.length; i++) { for (let i = 1; i < this.configForm.result.length; i++) {
if (!this.configForm.result[i].assess_order_num || !this.configForm.result[i].reward_amount) { if (!this.configForm.result[i].assess_order_num || !this.configForm.result[i].reward_amount) {
return this.$message.error("输入不能为空"); return this.$message.error("输入不能为空");
......
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