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() } })