|
@@ -137,7 +137,7 @@ export default {
|
|
'form.pointConfigContinueRList': {
|
|
'form.pointConfigContinueRList': {
|
|
handler(val) {
|
|
handler(val) {
|
|
// 当连续签到已达基础签到周期上限则禁止添加新数据
|
|
// 当连续签到已达基础签到周期上限则禁止添加新数据
|
|
- this.continuePush = val.findIndex(i => i.signDay === this.form.signDay) !== -1 ? true : false
|
|
|
|
|
|
+ this.continuePush = val.length < this.form.signDay ? val.findIndex(i => i.signDay === this.form.signDay) !== -1 ? true : false : true
|
|
},
|
|
},
|
|
deep: true
|
|
deep: true
|
|
},
|
|
},
|
|
@@ -173,7 +173,6 @@ export default {
|
|
rewardPoint: undefined,
|
|
rewardPoint: undefined,
|
|
status: 1,
|
|
status: 1,
|
|
})
|
|
})
|
|
- console.log(this.form.pointConfigContinueRList);
|
|
|
|
} else {
|
|
} else {
|
|
this.form.pointConfigListenGoodList.push({
|
|
this.form.pointConfigListenGoodList.push({
|
|
listenTime: undefined,
|
|
listenTime: undefined,
|