Commit 5cc26b08 authored by wuhao's avatar wuhao 🎯

asder

parent de583ac9
......@@ -26,7 +26,7 @@ function strToHump(str) {
}
export async function getInitialState() {
let token = localStorage.getItem('TOKENES');
let token = true;
const fetchUserInfo = async () => {
try {
const msg = await queryCurrentUser();
......@@ -73,8 +73,7 @@ export async function getInitialState() {
// ProLayout 支持的api https://procomponents.ant.design/components/layout
export const layout = ({ initialState, setInitialState }) => {
let token = localStorage.getItem('TOKENES');
console.log(initialState, history);
let token = true;
return {
disableContentMargin: false,
waterMarkProps: {
......
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