From 26721b59755f63c88a415483efadaa443c466aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 2 Mar 2020 16:32:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/AppConfig.js | 4 ++-- public/react/src/modules/tpm/newshixuns/Newshixuns.js | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index a3c081285..c7cdc84ab 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -42,7 +42,7 @@ if (isDev) { window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' } // 超管 -// debugType="admin"; +debugType="admin"; // 老师 //debugType="teacher"; // 学生 @@ -136,7 +136,7 @@ export function initAxiosInterceptors(props) { // proxy="https://test-jupyterweb.educoder.net" // proxy="https://test-newweb.educoder.net" // proxy="https://test-jupyterweb.educoder.net" - //proxy="http://192.168.2.63:3001" + //proxy="https://test-jupyterweb.educoder.net/" // 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求; diff --git a/public/react/src/modules/tpm/newshixuns/Newshixuns.js b/public/react/src/modules/tpm/newshixuns/Newshixuns.js index d017fe2aa..46f45a8a7 100644 --- a/public/react/src/modules/tpm/newshixuns/Newshixuns.js +++ b/public/react/src/modules/tpm/newshixuns/Newshixuns.js @@ -432,7 +432,9 @@ class Newshixuns extends Component { }, } - return ( + + + return (