|
|
|
@ -14,6 +14,7 @@ import NProgress from 'nprogress';
|
|
|
|
import rootReducer from '../store';
|
|
|
|
import rootReducer from '../store';
|
|
|
|
import { GlobalContext } from '../context';
|
|
|
|
import { GlobalContext } from '../context';
|
|
|
|
import checkLogin from '@/utils/checkLogin';
|
|
|
|
import checkLogin from '@/utils/checkLogin';
|
|
|
|
|
|
|
|
import '@/api'; // 全局挂载axios拦截器
|
|
|
|
import changeTheme from '@/utils/changeTheme';
|
|
|
|
import changeTheme from '@/utils/changeTheme';
|
|
|
|
import useStorage from '@/utils/useStorage';
|
|
|
|
import useStorage from '@/utils/useStorage';
|
|
|
|
import Layout from './layout';
|
|
|
|
import Layout from './layout';
|
|
|
|
@ -140,6 +141,7 @@ export default function MyApp({
|
|
|
|
</Provider>
|
|
|
|
</Provider>
|
|
|
|
</ConfigProvider>
|
|
|
|
</ConfigProvider>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|