瀏覽代碼

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

李志伟 3 年之前
父節點
當前提交
66f0a81030
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      config/config.js

+ 4
- 1
config/config.js 查看文件

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