We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
刚下载了作者的模板,换成自己的api登陆,返回登陆成功消息,但就是不跳转页面,我看着作者的文档,弄了一天,还不能跳转,但是换成作者的原始api登陆,就可以进去了。请教各位同行大哥,请问你们是如何修改权限,能让自己的账号登陆上去
The text was updated successfully, but these errors were encountered:
我觉得你应该仔细看看permission.js以及request.js,看看里面的数据返回格式和你自己的是不是一致的
Sorry, something went wrong.
在mock/user.js里面看到需要的后端接口和数据格式,在点击登录时候看一下发出去的包或者在src/api/user.js可以看到请求的数据。
vue-element-admin/user/login == > {"code":20000,"data":{"token":"admin-token"}}
{"code":20000,"data":{"token":"admin-token"}}
No branches or pull requests
刚下载了作者的模板,换成自己的api登陆,返回登陆成功消息,但就是不跳转页面,我看着作者的文档,弄了一天,还不能跳转,但是换成作者的原始api登陆,就可以进去了。请教各位同行大哥,请问你们是如何修改权限,能让自己的账号登陆上去
The text was updated successfully, but these errors were encountered: