|
@@ -97,14 +97,18 @@ export default {
|
|
|
return item.type == this.pdfType
|
|
|
})
|
|
|
var guid = ''
|
|
|
- if (obj) {//外部内部都是返回guid
|
|
|
+ if (obj) {//内部是返回guid,外部返回绝对路径
|
|
|
guid = obj.pdfGuid
|
|
|
}else{
|
|
|
this.pdfType = this.patent.pdf[0].type
|
|
|
guid = this.patent.pdf[0].pdfGuid
|
|
|
}
|
|
|
+ if (this.outside) {
|
|
|
+ this.src = guid
|
|
|
+ }else{
|
|
|
+ this.src = this.$commonJS.checkGuid(guid)
|
|
|
+ }
|
|
|
|
|
|
- this.src = this.$commonJS.checkGuid(guid)
|
|
|
this.$nextTick(() => {
|
|
|
this.show = true
|
|
|
})
|