From 8e827dc8140ae86104b4da9e5a6aea52f28b47f5 Mon Sep 17 00:00:00 2001 From: kclf <1195754634@qq.com> Date: Tue, 6 Dec 2022 17:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E7=90=86=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/config.js | 8 ++++---- src/views/courselibrary/CoursewareManage.vue | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/api/config.js b/src/api/config.js index f860fcc7..11cb7e29 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -55,10 +55,10 @@ http.interceptors.response.use( if (code === 0 || code === 200) { return response; } else { - if (code === 1000) { - window.open("https://u-pre.boe.com/web/", '_self'); - // window.open("http://111.231.196.214:12013/manage/login", '_self'); - } + // if (code === 1000) { + // window.open("https://u-pre.boe.com/web/", '_self'); + // // window.open("http://111.231.196.214:12013/manage/login", '_self'); + // } console.log("api %o", msg); } return response; diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index ca934741..37e03b73 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -290,6 +290,11 @@