From 68826df6e94da904a66d8d68462bc7e75f3f8dff Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Mon, 7 Dec 2020 12:09:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/axiosConfig.ts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/config/axiosConfig.ts b/src/config/axiosConfig.ts index 1a691a1..3062fcb 100644 --- a/src/config/axiosConfig.ts +++ b/src/config/axiosConfig.ts @@ -19,16 +19,17 @@ interface Data { class Huancun { data: Data = {} has(url: string){ - console.log(this.data) - if(!this.data[url]){ - return false; - } - console.log(new Date().getTime() - 60000 < this.data[url].time,"time") - if(this.data[url] && new Date().getTime() - 60000 < this.data[url].time){ - return this.data[url] - }else { - return false - } + // console.log(this.data) + // if(!this.data[url]){ + // return false; + // } + // console.log(new Date().getTime() - 60000 < this.data[url].time,"time") + // if(this.data[url] && new Date().getTime() - 60000 < this.data[url].time){ + // return this.data[url] + // }else { + // return false + // } + return false; } save(url: string,data: any){ this.data[url] = {data,time: new Date().getTime()} -- 2.39.5 From fb3389024d660507e26f2e859d13118317d1b819 Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Mon, 7 Dec 2020 12:12:01 +0800 Subject: [PATCH 2/2] shanchuhuancun --- dist/index.html | 4 ++-- dist/js/app.3bf66e0e.js | 2 -- dist/js/app.3bf66e0e.js.map | 1 - dist/js/app.a3e2a15a.js | 2 ++ dist/js/app.a3e2a15a.js.map | 1 + 5 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 dist/js/app.3bf66e0e.js delete mode 100644 dist/js/app.3bf66e0e.js.map create mode 100644 dist/js/app.a3e2a15a.js create mode 100644 dist/js/app.a3e2a15a.js.map diff --git a/dist/index.html b/dist/index.html index 7879dd7..06ad06d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -61,11 +61,11 @@ left: 0; z-index: 1001; display: none; - }