diff --git a/src/AppConfig.js b/src/AppConfig.js index add2d851f..5f8a5d7bb 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -44,21 +44,19 @@ export function initAxiosInterceptors(props) { } requestProxy(config); let url = `/api${config.url}`; - - // if (`${config[0]}` !== `true`) { - // if (window.location.port === "3007") { - // config.url = `${proxy}${url}`; - // if (config.url.indexOf('?') === -1) { - // config.url = `${config.url}?debug=${debugType}`; - // } else { - // config.url = `${config.url}&debug=${debugType}`; - // } - // } else { - // config.url = url; - // } - // } + + if (window.location.port === "3007") { + config.url = `${proxy}${url}`; + if (config.url.indexOf('?') === -1) { + config.url = `${config.url}?debug=admin`; + } else { + config.url = `${config.url}&debug=admin`; + } + } else { + config.url = url; + } config.withCredentials = false; - config.url = url; + // config.url = url; return config; }, err => { diff --git a/src/forge/Team/Setting/cla/CLAinfos.jsx b/src/forge/Team/Setting/cla/CLAinfos.jsx index 2e03fd913..e3fb7609f 100644 --- a/src/forge/Team/Setting/cla/CLAinfos.jsx +++ b/src/forge/Team/Setting/cla/CLAinfos.jsx @@ -1,8 +1,10 @@ import React,{ forwardRef, useState , useEffect } from 'react'; import '../teamSetting.scss'; import RenderHtml from '../../../../components/render-html'; +import img1 from '../../../Images/personalInfo3.png'; import { Button , Form , Input , Spin } from 'antd'; import { getImageUrl } from 'educoder'; +import { Link } from 'react-router-dom'; import axios from 'axios'; @@ -74,6 +76,7 @@ function CLAinfos(props){
协议内容
diff --git a/src/forge/Team/Setting/teamSetting.scss b/src/forge/Team/Setting/teamSetting.scss index 02903d757..1e6521e71 100644 --- a/src/forge/Team/Setting/teamSetting.scss +++ b/src/forge/Team/Setting/teamSetting.scss @@ -13,6 +13,23 @@ margin:20px 0px!important; } } +.emailTips{ + height: 45px; + background-color:#fff5eb; + border:1px solid #ffa13a; + border-radius:2px; + padding: 7px 20px; + letter-spacing: 1.5px; + display: flex; + align-items: center; + background-image: url('../../Images/personalInfo2.png'); + background-size: 100% 100%; + border: none; + color:#181818; + a{ + color:#ffa13a; + } +} .cla_list_box{ display: flex; flex-wrap: wrap;