Parcourir la source

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

李志伟 il y a 3 ans
Parent
révision
66f0a81030
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4
    1
      config/config.js

+ 4
- 1
config/config.js Voir le fichier

@@ -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,