|
@ -112,7 +112,7 @@ |
|
|
fileList: [], |
|
|
fileList: [], |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
|
|
|
|
|
|
onLoad() { |
|
|
this.getAuthenticationPerson(); |
|
|
this.getAuthenticationPerson(); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
@ -120,8 +120,10 @@ |
|
|
getAuthenticationPerson(){ |
|
|
getAuthenticationPerson(){ |
|
|
this.$api('getAuthenticationPerson',{}, res =>{ |
|
|
this.$api('getAuthenticationPerson',{}, res =>{ |
|
|
if(res.code == 200){ |
|
|
if(res.code == 200){ |
|
|
this.form = res.result; |
|
|
|
|
|
this.fileList = res.result.image ? res.result.image.split(',').map(url => {url}) : [] |
|
|
|
|
|
|
|
|
this.form = res.result || {}; |
|
|
|
|
|
this.fileList = this.form.image ? this.form.image.split(',').map(url => { |
|
|
|
|
|
return url |
|
|
|
|
|
}) : [] |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|