Commit 2630397a6efb84e3fafa444278d4ed59463123af
Merge remote-tracking branch 'remotes/origin/znh' into develop
Showing
1 changed file
with
14 additions
and
1 deletions
Too many changes to show.
To preserve performance only 1 of 60 files are displayed.
.umirc.ts
1 | 1 | import { defineConfig } from '@umijs/max'; |
2 | 2 | |
3 | 3 | export default defineConfig({ |
4 | + esbuildMinifyIIFE: true, | |
4 | 5 | antd: { |
5 | 6 | style: 'less', |
6 | 7 | }, |
... | ... | @@ -19,6 +20,11 @@ export default defineConfig({ |
19 | 20 | changeOrigin: true, |
20 | 21 | pathRewrite: { '^/api': '' }, |
21 | 22 | }, |
23 | + '/previewApi/': { | |
24 | + target: 'http://39.108.227.113:8092/', | |
25 | + changeOrigin: true, | |
26 | + pathRewrite: { '^/previewApi': '' }, | |
27 | + }, | |
22 | 28 | }, |
23 | 29 | routes: [ |
24 | 30 | { |
... | ... | @@ -43,7 +49,14 @@ export default defineConfig({ |
43 | 49 | path: '/orderReport', |
44 | 50 | component: './OrderReport', |
45 | 51 | icon: 'LineChartOutlined', |
46 | - access: 'canReadAdmin', | |
52 | + access: 'canReadAdminAndFinance', | |
53 | + }, | |
54 | + { | |
55 | + name: '发票管理', | |
56 | + path: '/invoiceManage', | |
57 | + component: './Invoice', | |
58 | + icon: 'BookOutlined', | |
59 | + access: 'canReadAdminAndFinance', | |
47 | 60 | }, |
48 | 61 | { |
49 | 62 | name: '打印', | ... | ... |