mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
[FIX]【保全】pdf预览url调整
This commit is contained in:
@@ -64,7 +64,8 @@ export default {
|
||||
res => {
|
||||
if (res.result == 0) {
|
||||
this.pdfList = res.content.surrenderSignList
|
||||
this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}` //待后端开发
|
||||
// this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}`
|
||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfList[0].policyUrl}`)
|
||||
this.documentName = this.pdfList[0].documentName
|
||||
resolve()
|
||||
} else {
|
||||
|
||||
@@ -64,7 +64,8 @@ export default {
|
||||
res => {
|
||||
if (res.result == 0) {
|
||||
this.pdfList = res.content.surrenderSignList
|
||||
this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}` //待后端开发
|
||||
// this.pdfUrl = config.assetsUrl + `${this.pdfList[0].policyUrl}`
|
||||
this.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${this.pdfList[0].policyUrl}`)
|
||||
this.documentName = this.pdfList[0].documentName
|
||||
resolve()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user