diff --git a/src/forge/Component/SiderBar.js b/src/forge/Component/SiderBar.js index a9826d05..67f14de8 100644 --- a/src/forge/Component/SiderBar.js +++ b/src/forge/Component/SiderBar.js @@ -46,7 +46,7 @@ function SiderBar() { let url = `/users/get_user_info.json`; axios.get(url).then((response) => { if (response && response.data && response.data.login) { - setLogin(true); + setLogin(response.data.login); } }).catch(error=>{}) } @@ -79,7 +79,7 @@ function SiderBar() { {/* 平台反馈 */}
- +
diff --git a/src/forge/Order/order_form.js b/src/forge/Order/order_form.js index 9aaac8c3..235859d8 100644 --- a/src/forge/Order/order_form.js +++ b/src/forge/Order/order_form.js @@ -103,7 +103,7 @@ class order_form extends Component { let data ={ //指派给段甲生,类型:缺陷,优先度:正常,issue状态:新增 tracker_id: "1", - assigned_to_id: "36480", + assigned_to_id: "105", priority_id: "2", status_id: "1", description:"####问题描述\n\n\n####重现问题步骤\n\n\n####截图\n\n\n####建议解决办法\n", diff --git a/src/modules/loginRegister/Login.jsx b/src/modules/loginRegister/Login.jsx index 08a3f736..0e3f0983 100644 --- a/src/modules/loginRegister/Login.jsx +++ b/src/modules/loginRegister/Login.jsx @@ -37,7 +37,8 @@ function Login(props){ if(search){ const searchParams = new URLSearchParams(search.substring(1)); const goPage = searchParams.get("go_page"); - goPage && (window.location.href = goPage+'?type=feedback'); + //意见反馈 + goPage && (window.location.href = `/${response.data.login}${goPage}?type=feedback`); return; } window.location.href = "/"+response.data.login;