|
|
@@ -137,7 +137,7 @@ export default {
|
|
|
timeFlag: null,
|
|
|
imageAIVerifyFlag: false,
|
|
|
imageAIVerifyData: null, //图匠校验返回的数据
|
|
|
- meidaId: '', //当前上传图片id
|
|
|
+ mediaId: '', //当前上传图片id
|
|
|
addressesRemark: '', //当前位置信息
|
|
|
controller: null, //取消请求状态
|
|
|
fileUrl: '',
|
|
|
@@ -296,8 +296,8 @@ export default {
|
|
|
localId: localIds, // 需要上传的图片的本地ID,由chooseImage接口获得
|
|
|
isShowProgressTips: 1, // 默认为1,显示进度提示
|
|
|
success: function (res) {
|
|
|
- this.meidaId = meidaId;
|
|
|
- this.uploadImagev(addressesRemark);
|
|
|
+ that.mediaId = res.serverId;
|
|
|
+ that.uploadImagev(addressesRemark);
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
@@ -353,7 +353,7 @@ export default {
|
|
|
};
|
|
|
// 0=企业微信,1=H5相机
|
|
|
if (this.userInfo.photoMethod == '0') {
|
|
|
- form.mediaId = this.meidaId; // string 图片素材id
|
|
|
+ form.mediaId = this.mediaId; // string 图片素材id
|
|
|
} else {
|
|
|
form.fileUrl = this.fileUrl; // string 图片素材id
|
|
|
}
|
|
|
@@ -457,7 +457,7 @@ export default {
|
|
|
};
|
|
|
// 0=企业微信,1=H5相机
|
|
|
if (this.userInfo.photoMethod == '0') {
|
|
|
- form.mediaId = this.meidaId; // string 图片素材id
|
|
|
+ form.mediaId = this.mediaId; // string 图片素材id
|
|
|
} else {
|
|
|
form.fileUrl = this.fileUrl; // string 图片素材id
|
|
|
}
|