fix(手机端详情): 统一预览方式
This commit is contained in:
@@ -2836,6 +2836,8 @@
|
||||
})
|
||||
},
|
||||
openFileInPdf(attId, oldFileName) {
|
||||
this.$preview(attId)
|
||||
/*
|
||||
// 判断是否是图片格式,图片格式不预览,直接下载
|
||||
let index1 = oldFileName.lastIndexOf('.')
|
||||
let index2 = oldFileName.length
|
||||
@@ -2878,6 +2880,7 @@
|
||||
} else {
|
||||
this.$message.warning('PDG文件,不支持手机端预览')
|
||||
}
|
||||
*/
|
||||
},
|
||||
getFileInfo(fileId) {
|
||||
Axios({
|
||||
|
||||
@@ -1269,6 +1269,8 @@
|
||||
})
|
||||
},
|
||||
openFileInPdf(attId, oldFileName) {
|
||||
this.$preview(attId)
|
||||
/*
|
||||
// 判断是否是图片格式,图片格式不预览,直接下载
|
||||
let index1 = oldFileName.lastIndexOf('.')
|
||||
let index2 = oldFileName.length
|
||||
@@ -1298,6 +1300,7 @@
|
||||
}else {
|
||||
this.$message.warning('PDG文件,不支持手机端预览')
|
||||
}
|
||||
*/
|
||||
},
|
||||
showItemsModel(attField) {
|
||||
if (attField) {
|
||||
|
||||
Reference in New Issue
Block a user