From 6b56d3010ab9658e47a90fd598a7d082773aee10 Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Mon, 24 Jul 2023 14:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=9C=8B=E5=A4=A7=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/carouselChart.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 591983c..e9a6818 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -268,13 +268,19 @@ export default { methods: { showbigpicPath(data) { console.log(data); - this.bigPicPath = data.substring(0, data.length - 9); + if (data.includes("!")) { + this.bigPicPath = data.substring(0, data.length - 9); + } else { + this.bigPicPath = data; + } + console.log(this.bigPicPath); }, handleBigPicbox() { this.showBigpic = true; }, - closePic() { + closePic(data) { + console.log(data); this.showBigpic = false; }, openline() {