wenhongquan 3 éve
szülő
commit
0e41e06d49
2 módosított fájl, 11 hozzáadás és 10 törlés
  1. 2 1
      src/views/HomePage/index.scss
  2. 9 9
      vite.config.ts

+ 2 - 1
src/views/HomePage/index.scss

@@ -3,7 +3,8 @@
 }
 
 .home-container {
-    height: calc(100vh - 60px);
+    // height: calc(100vh - 60px);
+    height: 100%;
     position: relative;
     background: #f6f7fb;
     .home-content {

+ 9 - 9
vite.config.ts

@@ -66,15 +66,15 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
       }),
       svgLoader(),
       // ElementPlus({ useSource: true }),
-      styleImport({
-        libs: [
-          {
-            libraryName: "vant",
-            esModule: true,
-            resolveStyle: (name) => `vant/es/${name}/style`,
-          },
-        ],
-      }),
+      // styleImport({
+      //   libs: [
+      //     {
+      //       libraryName: "vant",
+      //       esModule: true,
+      //       resolveStyle: (name) => `vant/es/${name}/style`,
+      //     },
+      //   ],
+      // }),
     ],
   };
 };