@ -162,11 +162,7 @@
},
downLoad(item) {
console.log(item)
if (item.file_suffix == 'png') {
if (item.file_suffix == 'pdf') {
uni.previewImage({
urls: [item.path]
})
} else {
uni.downloadFile({
url: item.path,
success: (data) => {
@ -200,6 +196,11 @@
}
});
goProgress(item){
@ -208,11 +208,7 @@
if (this.contentInfo.file_suffix == 'png') {
if (this.contentInfo.file_suffix == 'pdf') {
urls: [item]
url: item,
@ -246,6 +242,11 @@
async afterRead(event) {