Commit 0caf966a authored by 前端-许佳敏's avatar 前端-许佳敏

提交

parent 04d4f7c7
......@@ -15,7 +15,6 @@ const LoginWrap: React.FC = () => {
const [validButton, setValidButton] = useState(false)
const finish = (value:any) => {
console.log(value)
PublicApi.postMemberLogin(value).then(res => {
const { data } = res
setAuth({
......
......@@ -25,11 +25,7 @@ export const setRouters = (routers: any[]) => {
export const getRouters = () => {
try {
return JSON.parse(window.sessionStorage.getItem('rt')).concat([
'/memberCenter/commodityAbility',
'/memberCenter/commodityAbility/classAndProperty',
'/memberCenter/commodityAbility/classAndProperty/attribute'
]) || []
return JSON.parse(window.sessionStorage.getItem('rt')) || []
} catch (error) {
return []
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment