This commit is contained in:
花有清香月有阴
2021-12-23 17:16:34 +08:00
parent 671ea46e23
commit 96491758e0

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
}) })
}, },