iview / iview/iview-admin

使用util.ajax后,无法携带JESSIONID,axios的withCredentials:true已经配置

Open
#434 3 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

util.ajax = axios.create({
baseURL: ajaxUrl,
timeout: 5000,
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
withCredentials:true
});

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the request made through the shown util.ajax axios instance and verify whether the session cookie is sent despite withCredentials:true. Done means identifying why the JSESSIONID is not carried and confirming that requests made through util.ajax include it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.