iview / iview/iview-admin

在IE下,axios请求接口,会报错,求助!加急加急加急加急!!

Open
#598 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.4k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

SEC7123: Access-Control-Allow-Headers 列表中不存在请求标头 content-type。
SCRIPT7002: XMLHttpRequest: 网络错误 0x80070005, 拒绝访问。
Unhandled promise rejection Error: Network Error

会出现这样三个错误。这是为什么?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the axios XMLHttpRequest in IE and inspect the server's CORS response, especially Access-Control-Allow-Headers and content-type. The issue names no repository file or test; done would require a confirmed cause and a clearly specified project change, which the current report does not provide.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.