-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.umirc.ts
61 lines (59 loc) · 1.24 KB
/
.umirc.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { defineConfig } from '@umijs/max';
export default defineConfig({
antd: {},
access: {},
model: {},
initialState: {},
request: {},
publicPath: '/MealWeb/',
base: '/MealWeb/',
layout: {
title: '@umijs/max',
},
routes: [
{
path: '/',
redirect: '/home',
},
{
path: '/home',
name: '首页',
component: './HomePage'
},
{
name: '审批管理',
path: '/approvalManagement',
code: '00000000-0000-2000-0000-000000000000',
routes: [
{
path: '/approvalManagement',
redirect: '/approvalManagement/thirdPartApproval',
},
{
name: 'HT订单审核',
path: 'thirdPartApproval',
component: './ApprovalManagement',
code: '00000000-0000-2000-0001-000000000000'
},
{
name: '计次记录',
path: 'issueRecord',
component: './IssueRecord',
code: '00000000-0000-2000-0002-000000000000'
}
],
},
{
path: '/ErrPage/403',
component: './ErrPage',
layout: false
}
],
npmClient: 'yarn',
proxy: {
"/ThirdApprove/": {
target: 'https://wxm-dev.igskapp.com',
changeOrigin: true,
},
}
});