update
This commit is contained in:
@@ -453,7 +453,10 @@ export default {
|
||||
},
|
||||
handlePreview(row){
|
||||
this.viewDialogOpen = true;
|
||||
this.previewUrl = process.env.VUE_APP_TOOL_TECH_FILE_VIEW_API + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(process.env.VUE_APP_BASE_API + row.docUrl));
|
||||
let protocol = window.location.protocol
|
||||
let hostname = window.location.hostname;
|
||||
let getDocUrl = protocol + '//' + hostname + ':8080' + process.env.VUE_APP_BASE_API
|
||||
this.previewUrl = process.env.VUE_APP_TOOL_TECH_FILE_VIEW_API + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(getDocUrl + row.docUrl));
|
||||
this.viewDialogTitle = '文档在线预览'
|
||||
},
|
||||
// 多选框选中数据
|
||||
|
||||
Reference in New Issue
Block a user