From 37521c378a14496e0cb1766683837718d954204b Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 21 May 2024 13:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials/trials-panel/trial-summary/audit-record/index.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue index 6a27c9da..ab4e8ae6 100644 --- a/src/views/trials/trials-panel/trial-summary/audit-record/index.vue +++ b/src/views/trials/trials-panel/trial-summary/audit-record/index.vue @@ -897,12 +897,9 @@ export default { this.$nextTick(()=>{ if (url instanceof Array) { this.imagesList = url.map(v => this.OSSclientConfig.basePath + v) + this.$refs[url[0]].$viewer.show() } else { this.imagesList = [this.OSSclientConfig.basePath + url] - } - if(this.$refs[url][0]) { - this.$refs[url][0].$viewer.show() - } else { this.$refs[url].$viewer.show() } })