Commit 3a1c04d5 by 李伟康

修复BUG

1 parent fe717744
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
}, },
{ {
label: '答题时间', label: '答题时间',
prop: 'createdTime', prop: 'updatedTime',
minWidth: 180 minWidth: 180
}, },
] ]
......
...@@ -189,9 +189,11 @@ export default { ...@@ -189,9 +189,11 @@ export default {
}, },
watch: { watch: {
'configForm.merchantId' (n) { 'configForm.merchantId' (n) {
if (n) {
this.configForm.merchantName = this.merchantObj.data.find(e => e.confId == n).confName this.configForm.merchantName = this.merchantObj.data.find(e => e.confId == n).confName
this.activityObj = this.$options.data.call(this).activityObj this.activityObj = this.$options.data.call(this).activityObj
this.getActivityList() this.getActivityList()
} else this.activityObj.data = []
} }
}, },
mounted () { mounted () {
...@@ -254,7 +256,6 @@ export default { ...@@ -254,7 +256,6 @@ export default {
this.activityObj.total = res.total this.activityObj.total = res.total
this.activityObj.loading = false this.activityObj.loading = false
} }
console.log(data)
this.activityObj.data = data this.activityObj.data = data
this.activityObj.flag = true 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!