This commit is contained in:
2025-11-04 10:07:11 +08:00
parent 9476b8c43c
commit ae940dafb5
2 changed files with 5 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
// 配置解决跨域问题
module.exports = {
devServer:{
host:'localhost',//指定开发服务器主机地址
host:'0.0.0.0',//指定开发服务器主机地址
port:8088,//设置前端项目端口号为8088
open:true,//启动时自动打开浏览器
proxy:{//配置代理解决跨域问题