diff --git a/index.html b/index.html
index c9e6cb00d..5eb1ccd46 100644
--- a/index.html
+++ b/index.html
@@ -10,9 +10,6 @@
/>
vue-pure-admin
-
diff --git a/vite.config.ts b/vite.config.ts
index 5244c03ae..538134de5 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -70,6 +70,8 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
chunkSizeWarningLimit: 4000
},
define: {
+ "process.platform": null,
+ "process.version": null,
__INTLIFY_PROD_DEVTOOLS__: false,
__APP_INFO__: JSON.stringify(__APP_INFO__)
}