修改 企业标准文件预览处理
This commit is contained in:
@@ -56,9 +56,6 @@ async function preview (attId, type) {
|
||||
}
|
||||
} else if (file.previewAttId) {
|
||||
url = viewer + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + file.previewAttId)
|
||||
} else if (!file.previewAttId) {
|
||||
this.$message.error('文档未转换成功或本地读取不到该文档')
|
||||
return
|
||||
}else {
|
||||
url = kkFileViewUrl + '/onlinePreview?url=' + encodeURIComponent(Base64.encode(file.downLoadUrl)) + '&watermarkTxt=' + encodeURIComponent(store.getters.userInfo.userName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user