From 7231bd1d016045df67a25bc875305867f7f2b380 Mon Sep 17 00:00:00 2001 From: Leo_Ding <2405260743@qq.com> Date: Wed, 27 Aug 2025 10:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AE=AE=E5=AE=A4=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E4=B9=A6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/docList/index.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/docList/index.vue b/pages/docList/index.vue index 945c656..ef47335 100644 --- a/pages/docList/index.vue +++ b/pages/docList/index.vue @@ -28,13 +28,10 @@ } }, onLoad(option) { - console.log(option); - console.log(JSON.parse(option.files)); - const obj=JSON.parse(option.files) this.docList=[ - {name:'近山社区城市青年会客厅使用说明及申请表',url:BASE_URL+obj.covenantPdf}, - {name:`${JSON.parse(option.isSelfStudy)?'近山社区自习室个人使用承诺书':'近山社区城市青年会客厅安全使用承诺书'}`,url:BASE_URL+obj.applyPdf}, + {name:obj.applyPdfName,url:BASE_URL+obj.covenantPdf}, + {name:obj.covenantPdfName,url:BASE_URL+obj.applyPdf}, ] }, methods:{