Commit ddde34ff by 前端

Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'

修复标签、人群切换bug

See merge request !31
2 parents 8a37912a e3f08903
......@@ -150,7 +150,8 @@ export default {
async handleqrCode() {
this.addLoading = true
this.qrCodeVisible = true
await this.$apis.collocation
this.verifyQRCodeFailsToOpen = false
await this.$apis.collocation
.getLoginQcCode({})
.then(res => {
this.addLoading = false
......@@ -163,7 +164,7 @@ export default {
})
},
clearAllInterval() {
this.qrCodeIntervalList.forEach(item => {
this.qrCodeIntervalList.length && this.qrCodeIntervalList.forEach(item => {
clearInterval(item);
})
this.qrCodeIntervalList = [];
......
......@@ -256,6 +256,7 @@ export default {
this.basicForm.userList = []
this.selectData = []
this.basicForm.crowdList = []
this.$refs.selectLabel.labelTreeRetSelect = []
}
}
},
......@@ -336,6 +337,11 @@ export default {
}
},
selectChange(val) {
this.tagging = []
this.taggingList = []
this.basicForm.crowdList = []
this.$refs.selectLabel.labelTreeRetSelect = []
this.isUpdate = true
this.resetMerchantId = val
this.msgMerchantName = val && this.dataItems.find(item => item.msgMerchantId == val).msgMerchantName
},
......
......@@ -67,9 +67,9 @@ import util from '@/utils/util'
export default {
name: 'activityModel',
props: {
resetMerchantId:{
type:String,
default:''
resetMerchantId: {
type: String,
default: ''
}
},
data() {
......@@ -237,7 +237,6 @@ export default {
}
})
.filter(item => item)
console.log(labelTreeRets)
this.$emit('tagSelected', labelTreeRets)
},
//全选
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!