From 9c2eb9ed6da32c1830b02431875dacaa7f904b1f Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期五, 12 七月 2024 18:16:56 +0800 Subject: [PATCH] 修改资料校验 --- vite.config.js | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/vite.config.js b/vite.config.js index 5686722..6bccd72 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,5 @@ import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; -import electron from 'vite-plugin-electron'; import { resolve } from 'path'; import AutoImport from 'unplugin-auto-import/vite'; import Components from 'unplugin-vue-components/vite'; @@ -11,10 +10,6 @@ export default defineConfig({ plugins: [ vue(), - electron({ - // 涓昏繘绋嬪叆鍙f枃浠� - entry: './src/background.js' - }), AutoImport({ resolvers: [ElementPlusResolver()], }), @@ -34,13 +29,13 @@ port: 3000, proxy: { '/api': { - target: 'http://192.168.3.88:8000', - // target: 'http://192.168.3.64:8000', + // target: 'http://192.168.3.88:8000', + target: 'http://192.168.3.64:8000', changeOrigin: true, } } }, - + resolve: { alias: { '@': resolve(__dirname, './src') -- Gitblit v1.8.0