From 9da0ea8dea61dbd88e49af1e006fff97982d9884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?home=E5=AD=99?= <1162067978@qq.com> Date: Sat, 7 Jun 2025 11:12:38 +0800 Subject: [PATCH] 1 --- vue.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 340d31c7..acb26011 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,12 +39,14 @@ module.exports = { publicPath: process.env.NODE_ENV === "production" ? "./" : "/", devServer: { // https:true, + client: { + overlay: false // 编译错误时,取消全屏覆盖(建议关掉) + }, proxy: { "/api": { target: 'https://api.lihe-control.com', //地址 // target: 'http://jiaxingtest.a1.luyouxia.net:21114', //地址 // target: 'http://jiaxingtest.a1.luyouxia.net:25762', //地址 - changeOrigin: true, pathRewrite: { "^/api": "",