Parcourir la source

增加PDF文件

FML il y a 4 mois
Parent
commit
7ed95f315e
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  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'
 			}
         };
     },