wjx 1 рік тому
батько
коміт
851661195c
2 змінених файлів з 3 додано та 2 видалено
  1. 2 2
      config/proxy.ts
  2. 1 0
      package.json

+ 2 - 2
config/proxy.ts

@@ -10,8 +10,8 @@
  export default {
   dev: {
     '/api/': {
-      // target: 'http://test.api.zanxiangwl.com',
-      target: 'http://api.zanxiangwl.com',
+      target: 'http://test.api.zanxiangwl.com',
+      // target: 'http://api.zanxiangwl.com',
       changeOrigin: true,
       pathRewrite: { '/api': '' },
     },

+ 1 - 0
package.json

@@ -84,6 +84,7 @@
     "react-helmet-async": "^1.0.4",
     "react-image-crop": "^8.6.9",
     "react-lazyimg-component": "^1.0.1",
+    "react-resizable": "3.0.4",
     "react-responsive-carousel": "^3.2.18",
     "react-sortable-hoc": "^2.0.0",
     "react-window": "^1.8.6",