|
@@ -702,7 +702,7 @@ export default {
|
|
console.log(lists[0].url);
|
|
console.log(lists[0].url);
|
|
if (lists.length) {
|
|
if (lists.length) {
|
|
this.fileList1 = lists;
|
|
this.fileList1 = lists;
|
|
- if (lists[0].url.indexOf('//tmp') !== -1) {
|
|
|
|
|
|
+ if (lists[0].url.indexOf('//tmp') !== -1 || lists[0].url.indexOf('//temp') !== -1) {
|
|
this.$set(this.form, 'recent_photos', await this.$method.imageInfos(lists[0].url));
|
|
this.$set(this.form, 'recent_photos', await this.$method.imageInfos(lists[0].url));
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -718,7 +718,8 @@ export default {
|
|
async changePhotoListHeader2(lists, name) {
|
|
async changePhotoListHeader2(lists, name) {
|
|
if (lists.length) {
|
|
if (lists.length) {
|
|
this.fileList2 = lists;
|
|
this.fileList2 = lists;
|
|
- if (lists[0].url.indexOf('//tmp') !== -1) {
|
|
|
|
|
|
+ console.log(lists,'lists')
|
|
|
|
+ if (lists[0].url.indexOf('//tmp') !== -1 || lists[0].url.indexOf('//temp') !== -1) {
|
|
this.$set(this.form, 'idcard_face_photo', await this.$method.imageInfos(lists[0].url));
|
|
this.$set(this.form, 'idcard_face_photo', await this.$method.imageInfos(lists[0].url));
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -732,7 +733,7 @@ export default {
|
|
async changePhotoListHeader3(lists, name) {
|
|
async changePhotoListHeader3(lists, name) {
|
|
if (lists.length) {
|
|
if (lists.length) {
|
|
this.fileList3 = lists;
|
|
this.fileList3 = lists;
|
|
- if (lists[0].url.indexOf('//tmp') !== -1) {
|
|
|
|
|
|
+ if (lists[0].url.indexOf('//tmp') !== -1 || lists[0].url.indexOf('//temp') !== -1) {
|
|
this.$set(this.form, 'idcard_national_photo', await this.$method.imageInfos(lists[0].url));
|
|
this.$set(this.form, 'idcard_national_photo', await this.$method.imageInfos(lists[0].url));
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|