Commit a3768ef6 by 杨明

fixed

1 parent 0450caf2
......@@ -275,8 +275,9 @@ export default {
methods: {
importsCount() {
this.$apis.square.importsCount({}).then(res => {
console.log(res)
this.countAll = res
if (res) {
this.countAll = res
}
})
},
handleReset() {
......@@ -353,9 +354,9 @@ export default {
}
}
this.$apis.square.queryCrowdTree(params).then(res => {
if (res) {
if (res && res.crowdUnitList) {
const crowdUnitList = res.crowdUnitList.find(item => item.crowdName == '已加企微,待匹配客户')
this.crowdId = crowdUnitList.crowdId
this.crowdId = crowdUnitList ? crowdUnitList.crowdId : ''
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!