Chengfu

Results 1 issues of Chengfu

github修改了授权的方式,取消通过access_token授权,详情查看:[https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/](https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/) 现在github建议: > 废弃 curl "https://api.github.com/user/repos?access_token=my_access_token" > 改为 curl -H 'Authorization: token my_access_token' https://api.github.com/user 需要修改的内容:/src/utils/request.js文件。 service.interceptors.request.use( config => { let token = store.state.token.token if (token) { let sp = "?"...