|
@@ -213,27 +213,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
newimgarr(data) {
|
|
newimgarr(data) {
|
|
|
- const { localIds, locationRemark, source } = data;
|
|
|
|
|
- this.locationRemark = locationRemark;
|
|
|
|
|
- console.log(source);
|
|
|
|
|
- // 0=企业微信,1=H5相机
|
|
|
|
|
- if (this.userInfo.photoMethod == '0') {
|
|
|
|
|
- this.isUploadImg = false;
|
|
|
|
|
- const startIndex = this.imgArr.length;
|
|
|
|
|
- this.imgArr = this.imgArr.concat(
|
|
|
|
|
- localIds.map((item) => {
|
|
|
|
|
- return {
|
|
|
|
|
- mediaId: '',
|
|
|
|
|
- mediaFileUrl: item,
|
|
|
|
|
- };
|
|
|
|
|
- }),
|
|
|
|
|
- );
|
|
|
|
|
- // this.$nextTick(() => {
|
|
|
|
|
- // this.syncUpload(localIds, startIndex);
|
|
|
|
|
- // });
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$emit('upDataDetail');
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.$emit('upDataDetail');
|
|
|
},
|
|
},
|
|
|
// syncUpload(localIds, baseIndex = 0, callback) {
|
|
// syncUpload(localIds, baseIndex = 0, callback) {
|
|
|
// if (!localIds.length) {
|
|
// if (!localIds.length) {
|