From 2b99047683332624832c1dfcae596e957a710b7d Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 28 七月 2022 10:20:49 +0800 Subject: [PATCH] bug修复 --- src/views/productDetail/components/UploadBox.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/productDetail/components/UploadBox.vue b/src/views/productDetail/components/UploadBox.vue index febde84..44b2ab0 100644 --- a/src/views/productDetail/components/UploadBox.vue +++ b/src/views/productDetail/components/UploadBox.vue @@ -65,7 +65,7 @@ <el-image class="preview" v-if="item.appendix" - :src="`http://${item.appendix}`" + :src="`/httpImage/${item.appendix}`" fit="contain" ></el-image> <el-upload @@ -208,10 +208,16 @@ duration: 2500, offset: 57, }); + + if (this.$route.path === "/personalCenter") { + this.$emit("closeAll"); + return; + } + this.$router.push({ path: "/personalCenter", query: { - id: 1, + id: 0, }, }); } @@ -288,7 +294,7 @@ right: 20px; bottom: 20px; display: flex; - justify-content: end; + justify-content: flex-end; text-align: center; line-height: 40px; -- Gitblit v1.8.0