From 405053696c0691c8b9bd497dc8b6cc60bfc1632f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= <792998983@qq.com> Date: Fri, 11 Jun 2021 15:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B4=E9=83=A8=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E9=AB=98=E5=BA=A6=E5=92=8C=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 3 ++- src/forge/Component/HeadSearch.jsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AppConfig.js b/src/AppConfig.js index 034612ece..434d2ed73 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,7 +32,8 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - var proxy = "https://testforgeplus.trustie.net"; + // var proxy = "https://testforgeplus.trustie.net"; + var proxy="https://forgeplus.trustie.net/"; //响应前的设置 axios.interceptors.request.use( config => { diff --git a/src/forge/Component/HeadSearch.jsx b/src/forge/Component/HeadSearch.jsx index 15ba6d448..fb7c9f25a 100644 --- a/src/forge/Component/HeadSearch.jsx +++ b/src/forge/Component/HeadSearch.jsx @@ -28,6 +28,7 @@ export default ({history}) => { className={`search-input mr20`} onSearch={onGlobalSearch} autoFocus={true} + style={{width:'260px'}} /> :