From 066fec4e8a5f1bd4943944b115be2f5bf19e4c0c Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 1 Sep 2023 15:35:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E6=97=B6=E9=97=B4=E6=88=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/dist/index_zs.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/dist/index_zs.html b/server/dist/index_zs.html index 96260e2..c2af7f7 100644 --- a/server/dist/index_zs.html +++ b/server/dist/index_zs.html @@ -307,14 +307,15 @@ user-scalable: 用户是否能缩放页面 --> }, showImage(data){ let that = this; + let timer = new Date().getTime(); if(data.证书地址!==null){ - that.imgSrc = 'https://testsearch.ctc.ac.cn'+data.证书地址; + that.imgSrc = 'https://testsearch.ctc.ac.cn'+data.证书地址+'?'+timer; that.showImg = true; }else{ axios.get(`https://testsearch.ctc.ac.cn/api/edu/certificate/${data.id}/`).then(res=>{ if(res.data){ let data1 = res.data.data; - that.imgSrc = 'https://testsearch.ctc.ac.cn'+data1.证书地址; + that.imgSrc = 'https://testsearch.ctc.ac.cn'+data1.证书地址+'?'+timer; that.showImg = true; }else{ that.warningTxtx='暂未查询到您的相关证书!'