Skip to content

代理后端服务器地址不生效 #1438

@Niannian512

Description

@Niannian512

Question (问题描述)
在vue.config.js中配置proxy不生效,同一局域网下,本地请求后端服务器接口404,控制台报错跨域

Describe the solution you'd like (你期待的是什么?)
明确的解决方式

Additional context(附加信息)
确认接口是通的,get接口在浏览器能正常打开得到返回值

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions