Browse Source

deploy

master
Soleilw 6 months ago
parent
commit
0a088261dd

dist/130.66ba8f37.async.js
File diff suppressed because it is too large
View File


dist/687.9a5784a6.async.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/index.html View File

</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.c772c80f.js"></script>
<script src="/umi.aa8f6f29.js"></script>
</body> </body>
</html> </html>

+ 1
- 0
dist/p__Activity__List__index.d094ccae.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Activity__List__index.d0cbd5cf.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Advertisement__Putin__index.1566640e.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Advertisement__Putin__index.fe78a463.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Company__List__index.1dd5d489.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Company__List__index.33238e2e.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Company__Post__index.53cd57f7.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Company__Post__index.a293beeb.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Feedback__index.96e2e9ad.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Feedback__index.ea611b17.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Information__Article__index.96725bc6.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Information__Article__index.abadafd3.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Information__Section__index.b6a23d2c.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Information__Section__index.e65294a3.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Jobseeker__List__index.032480ef.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Jobseeker__List__index.a06ada83.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
dist/p__Permission__Account__index.049a02ed.async.js
File diff suppressed because it is too large
View File


+ 0
- 1
dist/p__Permission__Account__index.77e0798e.async.js
File diff suppressed because it is too large
View File


dist/umi.aa8f6f29.js
File diff suppressed because it is too large
View File


+ 1
- 1
p.sh View File

npm run build
npm run build:dev
msg=$1 msg=$1
ciskip="[CI SKIP]" ciskip="[CI SKIP]"



+ 4
- 2
src/app.tsx View File

import type { RequestConfig } from "@umijs/max"; import type { RequestConfig } from "@umijs/max";
import { message, Modal, Dropdown, MenuProps, theme } from "antd"; import { message, Modal, Dropdown, MenuProps, theme } from "antd";
import { BulbOutlined, LogoutOutlined } from '@ant-design/icons'; import { BulbOutlined, LogoutOutlined } from '@ant-design/icons';
import { baseUrl } from './constants/index'
// import { baseUrl } from './constants/index'
import routes from '../config/routes' import routes from '../config/routes'
import { history } from '@umijs/max'; import { history } from '@umijs/max';
import { import {
} from '@ant-design/pro-components'; } from '@ant-design/pro-components';


import { GetUserMenulist } from '@/apis/api'; import { GetUserMenulist } from '@/apis/api';
console.log(process.env)
export async function getInitialState(): Promise<{ permissions: object[] }> { export async function getInitialState(): Promise<{ permissions: object[] }> {
const token = sessionStorage.getItem('token'); const token = sessionStorage.getItem('token');
let permissions = []; let permissions = [];
sessionStorage.setItem('path', location.pathname) sessionStorage.setItem('path', location.pathname)
} }


console.log(process.env.NODE_ENV)
const baseUrl = process.env.NODE_ENV == 'production' ? 'https://admin1.jcjob.cn/api' : 'https://rcsc-test.jcjob.cn/api'

export const request: RequestConfig = { export const request: RequestConfig = {
baseURL: baseUrl, baseURL: baseUrl,
errorConfig: { errorConfig: {

Loading…
Cancel
Save