From 08c2c3aea346fc8b838cd04918b7864592ac079b Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 30 五月 2023 15:44:53 +0800 Subject: [PATCH] bug修改 --- src/views/intelligentPatrol/studyJudge/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/intelligentPatrol/studyJudge/index.vue b/src/views/intelligentPatrol/studyJudge/index.vue index 4d43eee..2fa1f66 100644 --- a/src/views/intelligentPatrol/studyJudge/index.vue +++ b/src/views/intelligentPatrol/studyJudge/index.vue @@ -48,13 +48,15 @@ :key="item.id" > <span>鎶ヨ鍥剧墖</span> - <img :src="item" /> + <!-- <img :src="item" /> --> + <el-image style="width:240px" :src="item" :preview-src-list="[item]"> </el-image> <span v-if="index === 0" >鎶ヨ鏃堕棿锛歿{ currentEvent.alarmTime }}</span > </div> <div class="img-item" v-for="item in imageList" :key="item.id"> - <img :src="item" /> + <!-- <img :src="item" /> --> + <el-image style="width:240px" :src="item" :preview-src-list="[item]"> </el-image> </div> <el-form ref="currentEvent" @@ -424,7 +426,6 @@ .catch((err) => this.$message.error(err)); }, loadData() { - debugger; this.point = { x: this.currentEvent.longitude, y: this.currentEvent.latitude, @@ -435,6 +436,7 @@ this.imageList = this.currentEvent.picData .split(",") .map((item) => `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${item}`); + // this.imageList =['https://www.shutterstock.com/image-photo/grandmother-holding-grandson-her-lap-600w-1954531321.jpg','https://www.shutterstock.com/image-photo/grandmother-holding-grandson-her-lap-600w-1954531321.jpg'] } if (this.currentEvent?.alarmTime || this.currentEvent?.currentAlarmTime) { const { alarmTime, currentAlarmTime } = this.currentEvent; -- Gitblit v1.8.0