|
@@ -115,11 +115,12 @@ export default {
|
|
|
handler(val) {
|
|
handler(val) {
|
|
|
this.imgArr = [];
|
|
this.imgArr = [];
|
|
|
// <!-- 0=企业微信,1=H5相机 -->
|
|
// <!-- 0=企业微信,1=H5相机 -->
|
|
|
- if (val) {
|
|
|
|
|
- if (this.userInfo.photoMethod == '1') {
|
|
|
|
|
- this.imgArr = val || [];
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (val) {
|
|
|
|
|
+ if (this.userInfo.photoMethod == '1') {
|
|
|
|
|
+ this.imgArr = val || [];
|
|
|
|
|
+ } else {
|
|
|
}
|
|
}
|
|
|
|
|
+ // }
|
|
|
},
|
|
},
|
|
|
deep: true,
|
|
deep: true,
|
|
|
immediate: true,
|
|
immediate: true,
|