From 3b21f385cdae7d94fce1ebba6abb06a893f57114 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 02 十一月 2021 10:40:29 +0800 Subject: [PATCH] 对需要向设备发起请求的http请求,使用缓存,等待设备请求返回的时候一次性释放所有请求 --- web_src/src/App.vue | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/web_src/src/App.vue b/web_src/src/App.vue index 5828acd..e114545 100644 --- a/web_src/src/App.vue +++ b/web_src/src/App.vue @@ -21,7 +21,6 @@ created() { if(!this.$cookies.get("session")){ //濡傛灉娌℃湁鐧诲綍鐘舵�佸垯璺宠浆鍒扮櫥褰曢〉 - console.log("33333333") this.$router.push('/login'); } }, @@ -43,7 +42,6 @@ //cookie鎿嶄綔鏂规硶鍦ㄦ簮鐮侀噷鏈夋垨鑰呭弬鑰冪綉涓婄殑鍗冲彲 if(!this.$cookies.get("session")){ //濡傛灉娌℃湁鐧诲綍鐘舵�佸垯璺宠浆鍒扮櫥褰曢〉 - console.log("222222222") this.$router.push('/login'); } }, -- Gitblit v1.8.0