Commit 3a1c04d5 by 李伟康

修复BUG

1 parent fe717744
......@@ -72,7 +72,7 @@ export default {
},
{
label: '答题时间',
prop: 'createdTime',
prop: 'updatedTime',
minWidth: 180
},
]
......
......@@ -189,9 +189,11 @@ export default {
},
watch: {
'configForm.merchantId' (n) {
this.configForm.merchantName = this.merchantObj.data.find(e => e.confId == n).confName
this.activityObj = this.$options.data.call(this).activityObj
this.getActivityList()
if (n) {
this.configForm.merchantName = this.merchantObj.data.find(e => e.confId == n).confName
this.activityObj = this.$options.data.call(this).activityObj
this.getActivityList()
} else this.activityObj.data = []
}
},
mounted () {
......@@ -254,7 +256,6 @@ export default {
this.activityObj.total = res.total
this.activityObj.loading = false
}
console.log(data)
this.activityObj.data = data
this.activityObj.flag = true
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!