perf(手机端): 预览
This commit is contained in:
@@ -3204,8 +3204,9 @@ export default {
|
||||
})
|
||||
},
|
||||
openFileInPdf (attId, oldFileName) {
|
||||
// this.$preview(attId)
|
||||
this.$preview(attId)
|
||||
|
||||
/*
|
||||
// 判断是否是图片格式,图片格式不预览,直接下载
|
||||
const index1 = oldFileName.lastIndexOf('.')
|
||||
const index2 = oldFileName.length
|
||||
@@ -3248,6 +3249,7 @@ export default {
|
||||
} else {
|
||||
this.$message.warning('PDG文件,不支持手机端预览')
|
||||
}
|
||||
*/
|
||||
},
|
||||
getFileInfo (fileId) {
|
||||
Axios({
|
||||
|
||||
@@ -1350,8 +1350,9 @@ export default {
|
||||
})
|
||||
},
|
||||
openFileInPdf (attId, oldFileName) {
|
||||
// this.$preview(attId)
|
||||
this.$preview(attId)
|
||||
|
||||
/*
|
||||
// 判断是否是图片格式,图片格式不预览,直接下载
|
||||
const index1 = oldFileName.lastIndexOf('.')
|
||||
const index2 = oldFileName.length
|
||||
@@ -1380,6 +1381,7 @@ export default {
|
||||
}else {
|
||||
this.$message.warning('PDG文件,不支持手机端预览')
|
||||
}
|
||||
*/
|
||||
},
|
||||
showItemsModel (attField) {
|
||||
if (attField) {
|
||||
|
||||
Reference in New Issue
Block a user