Skip to content

Commit 99aa62a

Browse files
committed
修改 pdf 示例文件下载地址
1 parent e844f0e commit 99aa62a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pages/API/file/file.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
// #ifndef MP-ALIPAY || MP-TOUTIAO
8181
openDocument() {
8282
uni.downloadFile({
83-
url: 'https://raw.githubusercontent.com/mozilla/pdf.js/master/examples/learning/helloworld.pdf',
83+
url: 'https://img-cdn-qiniu.dcloud.net.cn/uniapp/helloworld.pdf',
8484
success: (res) => {
8585
uni.openDocument({
8686
filePath: res.tempFilePath,

0 commit comments

Comments
 (0)