稽查bug修复
parent
ebe7c74614
commit
37521c378a
|
@ -897,12 +897,9 @@ export default {
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(()=>{
|
||||||
if (url instanceof Array) {
|
if (url instanceof Array) {
|
||||||
this.imagesList = url.map(v => this.OSSclientConfig.basePath + v)
|
this.imagesList = url.map(v => this.OSSclientConfig.basePath + v)
|
||||||
|
this.$refs[url[0]].$viewer.show()
|
||||||
} else {
|
} else {
|
||||||
this.imagesList = [this.OSSclientConfig.basePath + url]
|
this.imagesList = [this.OSSclientConfig.basePath + url]
|
||||||
}
|
|
||||||
if(this.$refs[url][0]) {
|
|
||||||
this.$refs[url][0].$viewer.show()
|
|
||||||
} else {
|
|
||||||
this.$refs[url].$viewer.show()
|
this.$refs[url].$viewer.show()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue