Ver código fonte

Merge branch 'master' of http://git.ycjcjy.com/nanyang/machinery-admin

李志伟 3 anos atrás
pai
commit
66f0a81030
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4
    1
      config/config.js

+ 4
- 1
config/config.js Ver arquivo

@@ -8,9 +8,12 @@ const { REACT_APP_ENV } = process.env;
8 8
 
9 9
 export default defineConfig({
10 10
   define: {
11
-    API_BASE: 'http://sgl-v2.njyunzhi.com',
11
+    API_BASE: 'http://machine.njyunzhi.com',
12 12
   },
13 13
   hash: true,
14
+  history: {
15
+    type: 'hash',
16
+  },
14 17
   antd: {},
15 18
   dva: {
16 19
     hmr: true,