...
|
...
|
@@ -136,6 +136,7 @@ |
|
|
export default{
|
|
|
data(){
|
|
|
return{
|
|
|
chooseImageStatus:false,
|
|
|
imgUrl:this.imgUrl,
|
|
|
showPersonInfo:false,
|
|
|
selectorVisible:false,
|
...
|
...
|
@@ -167,7 +168,9 @@ |
|
|
wPicker
|
|
|
},
|
|
|
onShow() {
|
|
|
this.getData()
|
|
|
if(!this.chooseImageStatus){
|
|
|
this.getData()
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
getData(){
|
...
|
...
|
@@ -302,9 +305,11 @@ |
|
|
},
|
|
|
//选择头像
|
|
|
chooseImage(imgType){
|
|
|
this.chooseImageStatus = true
|
|
|
uni.chooseImage({
|
|
|
count:1,
|
|
|
success: (chooseImageRes) => {
|
|
|
this.chooseImageStatus = false
|
|
|
const tempFilePaths = chooseImageRes.tempFilePaths;
|
|
|
uni.showLoading({
|
|
|
title:'上传中'
|
...
|
...
|
|