Selaa lähdekoodia

优化请求超时的问题

ZaiZai 2 vuotta sitten
vanhempi
commit
c2583212ef
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      src/global/components/hc-card/index.vue
  2. 2 2
      vite.config.js

+ 1 - 1
src/global/components/hc-card/index.vue

@@ -112,7 +112,7 @@ const isSlotSearchBar = ref(!!slots.search);
             position: relative;
             display: flex;
             align-items: center;
-            margin-left: 120px;
+            margin-left: 24px;
         }
     }
     .el-card__body {

+ 2 - 2
vite.config.js

@@ -36,8 +36,8 @@ export default defineConfig({
         }),
     ],
     server: {
-        port: '3001',
-        host: '0.0.0.0',
+        //port: '3001',
+        //host: '0.0.0.0',
         proxy: {
             '/api': {
                 ws: true,