Browse Source

消除企业监听问题

master
赵鹏 1 month ago
parent
commit
3109d12fec
  1. 37
      sub/invite/addEnterprise.vue

37
sub/invite/addEnterprise.vue

@ -265,25 +265,30 @@ export default {
this.form.id = res.id
this.init()
}
//
uni.$off('enterpriseIntroduce')
uni.$off('enterpriseTag')
uni.$off('prove')
//
uni.$on('enterpriseIntroduce', data => {
this.form.introduction = data.introduce
})
uni.$on('enterpriseTag', data => {
this.form.tags = data
})
uni.$on('prove', data => {
console.log('资质', this.prove)
console.log('资质返回', data)
if (this.form.id != '') {
this.getProve()
} else {
this.prove.push(data)
}
})
},
onShow() {
console.log('onShow', this.prove)
uni.$on('enterpriseIntroduce', data => {
this.form.introduction = data.introduce
})
uni.$on('enterpriseTag', data => {
this.form.tags = data
})
uni.$on('prove', data => {
console.log('资质', this.prove)
console.log('资质返回', data)
if (this.form.id != '') {
this.getProve()
} else {
this.prove.push(data)
}
})
},
methods: {
proofName(v) {

Loading…
Cancel
Save