fix: 手机端详情预览回滚
This commit is contained in:
@@ -3204,13 +3204,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
openFileInPdf (attId, oldFileName) {
|
openFileInPdf (attId, oldFileName) {
|
||||||
this.$preview(attId)
|
// this.$preview(attId)
|
||||||
/*
|
|
||||||
// 判断是否是图片格式,图片格式不预览,直接下载
|
// 判断是否是图片格式,图片格式不预览,直接下载
|
||||||
let index1 = oldFileName.lastIndexOf('.')
|
const index1 = oldFileName.lastIndexOf('.')
|
||||||
let index2 = oldFileName.length
|
const index2 = oldFileName.length
|
||||||
let fileSuffix = oldFileName.substring(index1, index2)
|
let fileSuffix = oldFileName.substring(index1, index2)
|
||||||
//把后缀转大写
|
// 把后缀转大写
|
||||||
if (fileSuffix !== undefined && fileSuffix !== null) {
|
if (fileSuffix !== undefined && fileSuffix !== null) {
|
||||||
fileSuffix = fileSuffix.toUpperCase()
|
fileSuffix = fileSuffix.toUpperCase()
|
||||||
}
|
}
|
||||||
@@ -3248,7 +3248,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning('PDG文件,不支持手机端预览')
|
this.$message.warning('PDG文件,不支持手机端预览')
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
},
|
},
|
||||||
getFileInfo (fileId) {
|
getFileInfo (fileId) {
|
||||||
Axios({
|
Axios({
|
||||||
|
|||||||
Reference in New Issue
Block a user