Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化左侧菜单栏,可以选择添加token选项 #49

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

xiaolanii
Copy link

我的项目里面请求都需要携带token,我在初始化的时候添加了这个参数,方便携带token

@Aeolus-Lang
Copy link

Aeolus-Lang commented Oct 16, 2020 via email

@zhongshaofa
Copy link
Owner

不应该这样子去更改,还是无法解决用户的需求,参数应该传的是header头进去的

@xiaolanii
Copy link
Author

我是看初始化左侧菜单栏是$.getJSON方法,我把它改成了$.ajax方法。我只添加了Auth属性,其实可以添加更多的参数选项,来满足用户需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants