Elliot
2 months ago
Failed to extract signature
2 changed files with
3 additions and
0 deletions
-
config/config.ts
-
src/app.tsx
|
|
|
@ -117,6 +117,7 @@ export default defineConfig({ |
|
|
|
appConfig: {}, |
|
|
|
configProvider: { |
|
|
|
theme: { |
|
|
|
zeroRuntime: true, |
|
|
|
token: { |
|
|
|
fontFamily: 'AlibabaSans, sans-serif', |
|
|
|
}, |
|
|
|
|
|
|
|
@ -15,6 +15,8 @@ import { currentUser as queryCurrentUser } from '@/services/ant-design-pro/api'; |
|
|
|
import defaultSettings from '../config/defaultSettings'; |
|
|
|
import { errorConfig } from './requestErrorConfig'; |
|
|
|
|
|
|
|
import 'antd/dist/antd.css'; |
|
|
|
|
|
|
|
const isDev = process.env.NODE_ENV === 'development'; |
|
|
|
const isDevOrTest = isDev || process.env.CI; |
|
|
|
const loginPath = '/user/login'; |
|
|
|
|