作者:手机用户2602922981 | 来源:互联网 | 2023-09-23 14:33
我练习vue的登陆时,自己用python搭了一个django的框架做后台,地址是localhost:8000,vue项目的地址是localhost:8080,然后我在vue.config
我练习 vue 的登陆时,自己用python搭了一个django的框架做后台,地址是 localhost:8000,vue项目的地址是localhost:8080,然后我在 vue.config.js 里设置了跨域,访问时还是提示 cors 了

vue.config.js

问一下怎么解决这个问题。