Quasar Vue Springboot 跨域問題 No 'Access-Control-Allow-Origin' header is present on the requested

困擾了近半個月的跨域問題解決了。javascript 服務端是Springboot,前端是Vue前端 服務端地址是:http://localhost:8066vue 前端地址是:http://localhost:6006java 前端發送請求使用的是axios,以前設置的baseURL是 process.env.BASE_API, 這個baseURL我在別的地方沒有指定,所以是空,後來發現靜態圖片
相關文章
相關標籤/搜索