Commit 11cda4b9 by 前端

解决切换无奖励错误问题

1 parent 8b35e25f
......@@ -1422,15 +1422,19 @@ export default {
},
// 奖励模式切换
rewardTypeChange(itm) {
console.log(itm)
if (itm.rewardType == 2) {
this.$nextTick(() => {
this.$set(itm, 'triggerValue', '')
this.$set(itm, 'rewardCount', '')
this.$set(itm, 'rewardScore', '')
this.$set(itm, 'minTriggerValue', '1')
})
} else if (itm.rewardType == 1) {
this.$nextTick(() => {
this.$set(itm, 'triggerValue', '')
this.$set(itm, 'rewardCount', '')
this.$set(itm, 'rewardScore', '')
this.$set(itm, 'minTriggerValue', '1')
})
} else {
......@@ -1438,7 +1442,10 @@ export default {
this.$set(itm, 'rewardCount', '')
this.$set(itm, 'minTriggerValue', '')
this.$set(itm, 'rewardScore', '')
this.$set(itm, 'repeatCount', '')
this.$set(itm, 'repeatFlag', false)
}
console.log(itm, '---')
},
// 奖励次数切换
rewardCountChange(itm) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!