From 834c9faa67480ad07b9631b0807065aef9026357 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 9 Mar 2026 11:47:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=8C=BA-=E8=B6=85=E7=AE=97=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E5=A2=9E=E5=8A=A0=E7=99=BB=E5=BD=95=E5=88=A4=E6=96=AD?= =?UTF-8?q?-iframe=E5=9C=B0=E5=9D=80=E5=A2=9E=E5=8A=A0=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 4 +-- .../Information/Component/publicBanner.jsx | 11 +++++++- src/forge/Information/Pages/lessons.jsx | 25 ++++++++++++++++--- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index fb45f2300..981208f5f 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,9 +32,9 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - var proxy = "https://testforgeplus.trustie.net"; + // var proxy = "https://testforgeplus.trustie.net"; // var proxy = "http://172.20.32.201:4000"; - // var proxy = "https://www.gitlink.org.cn"; + var proxy = "https://www.gitlink.org.cn"; //响应前的设置 axios.interceptors.request.use( diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index 2b02fc3e8..dd22273ba 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -103,6 +103,15 @@ function PublicBanner(props) { } } + function toLessonsFunc(){ + if (checkIfLogin() === false) { + showLoginDialog() + return false; + } else{ + window.location.href = `/zone/${deptId}/lessons`; + } + } + return (
{sectionResourceTitle}
{sectionCmsTitle}
课程实训
课程实训
{sectionMemberTitle}
{data.sectionHelperTitle}
后台管理