From d69486d1ab2c33140ca790d4734d6fd3aefba356 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Thu, 20 Aug 2020 17:39:30 +0800 Subject: [PATCH] fixing bug --- pageC/components/merchant/list-item.vue | 5 +++- pageC/merchant/index.vue | 2 +- pageE/mine/EditUserInfo.vue | 4 +-- pageE/mine/MineInfo.vue | 2 +- pages/mine/index.vue | 38 +++---------------------- 5 files changed, 12 insertions(+), 39 deletions(-) diff --git a/pageC/components/merchant/list-item.vue b/pageC/components/merchant/list-item.vue index fda4ffc..c2fa52c 100644 --- a/pageC/components/merchant/list-item.vue +++ b/pageC/components/merchant/list-item.vue @@ -57,6 +57,9 @@ export default { } }, - props:['url','type'] + props:['url','type'], + created() { + console.log(this.url, this.type); + } } \ No newline at end of file diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index 52c6ade..0b0e467 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -46,7 +46,7 @@ - + diff --git a/pageE/mine/EditUserInfo.vue b/pageE/mine/EditUserInfo.vue index 5232045..1a7c8c8 100644 --- a/pageE/mine/EditUserInfo.vue +++ b/pageE/mine/EditUserInfo.vue @@ -136,7 +136,7 @@ export default { sizeType: ['original', 'compressed'], sourceType: ['album'], success: (res) => { - this.avatar = res.tempFilePaths[0]; + // this.avatar = res.tempFilePaths[0]; common.uploadFile({ url: url, name: 'avatar', @@ -144,7 +144,7 @@ export default { }).then(result => { // console.log(result); // this.$set(this, 'avatar', result.file_path); - // this.avatar = result.file_path; + this.avatar = result.file_path + "?" + new Date().getTime(); this.uploadPath = result.file_name; }, error => { this.$u.toast(error); diff --git a/pageE/mine/MineInfo.vue b/pageE/mine/MineInfo.vue index 74f885f..120ae70 100644 --- a/pageE/mine/MineInfo.vue +++ b/pageE/mine/MineInfo.vue @@ -1,7 +1,7 @@