浏览代码

增加PDF文件

FML 4 月之前
父节点
当前提交
7ed95f315e
共有 1 个文件被更改,包括 5 次插入 和 5 次删除
  1. 5 5
      pages/index.vue

+ 5 - 5
pages/index.vue

@@ -8,13 +8,13 @@
 export default {
 	components:{},
     data() { 
-        return {
+        return { 
 			fileUrl: '',
 			fileType: '2',
-			fileMap: {
-				'1': 'https://2022.cqytjr.com/file/1.pdf',
-				'2': 'https://2022.cqytjr.com/file/2.pdf',
-				'3': 'https://2022.cqytjr.com/file/3.pdf'
+			fileMap: { 
+				'1': '/static/pdf/1.pdf',
+				'2': '/static/pdf/2.pdf',
+				'3': '/static/pdf/3.pdf'
 			}
         };
     },