Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2021-12-23 17:18:01 +08:00

View File

@@ -99,12 +99,15 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
console.log(o) console.log(this.user)
this.id = o.id ? o.id : '' this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
// this.getDetail() // this.getDetail()
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
this.user.phone = this.forms.contactPhone
this.user.name = this.forms.contactPerson
}) })
}, },