稽查bug修复

uat_us
caiyiling 2024-05-21 13:46:48 +08:00
parent ebe7c74614
commit 37521c378a
1 changed files with 1 additions and 4 deletions

View File

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