From 4a0a0e6367e6824c54a541a0785e25645e5644b1 Mon Sep 17 00:00:00 2001 From: lixg Date: Tue, 6 Dec 2022 17:16:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=88=A0=E9=99=A4=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E8=AF=BE=E7=BC=96=E8=BE=91=E7=9A=84=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/api/config.js | 10 +++++----- src/components/drawers/AddOnline.vue | 13 ++++++++----- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/App.vue b/src/App.vue index 235c735b..7e5bb0b1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,7 +43,7 @@ export default defineComponent({ const store = useStore(); const isLogin = ref(false); // console.log("router", router.getRoutes(), route); - console.log("版本0.9.1------------"); + console.log("版本0.9.2------------"); const routes = computed(() => { return router.getRoutes().filter((e) => e.meta?.isLink); }); diff --git a/src/api/config.js b/src/api/config.js index 326b58f4..f860fcc7 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-12-06 09:02:40 + * @LastEditTime: 2022-12-06 17:14:47 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -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/components/drawers/AddOnline.vue b/src/components/drawers/AddOnline.vue index d0270c04..576c8336 100644 --- a/src/components/drawers/AddOnline.vue +++ b/src/components/drawers/AddOnline.vue @@ -57,7 +57,7 @@ -
+
{ state.currentPage = page; - state.selectedRowKeys = [] + state.selectedRowKeys = []; getAllOnlineText(); }; const getTableDate = (tableData) => { @@ -365,9 +365,12 @@ export default { state.tableDataTotal = res.data.data.count; if (res.status === 200) { console.log("获取在线课列表数据", res); - for(let i=0;i