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
router: { path: '/home', name: 'home', component: Home, children: [{ path: '/course/choose', name: 'chooseCourse', component: chooseCourse, }] } choose-course: methods:{ getList(){ let _this = this axios.get("/course/showThis?userId=" + this.$store.getters.getUser.userId + "&pageNum=" + this.pageNum + "&pageSize=" + this.pageSize, { headers:{ "Authoriztion": this.$store.getters.getToken } }).then(response => { console.log(response.data) _this.tableData = response.data.data.list _this.total = response.data.data.total }).catch(err => {}) }, }, 版主你好,请教一下,我跟着你的这个项目做的时候发现跳转的时候需要身份校验?感觉像是token没有携带过去?不知道那里出了问题,还请指导一下,谢谢。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
router:
{
path: '/home',
name: 'home',
component: Home,
children: [{
path: '/course/choose',
name: 'chooseCourse',
component: chooseCourse,
}]
}
choose-course:
methods:{
getList(){
let _this = this
axios.get("/course/showThis?userId=" + this.$store.getters.getUser.userId + "&pageNum=" +
this.pageNum + "&pageSize=" + this.pageSize,
{
headers:{
"Authoriztion": this.$store.getters.getToken
}
}).then(response => {
console.log(response.data)
_this.tableData = response.data.data.list
_this.total = response.data.data.total
}).catch(err => {})
},
},
版主你好,请教一下,我跟着你的这个项目做的时候发现跳转的时候需要身份校验?感觉像是token没有携带过去?不知道那里出了问题,还请指导一下,谢谢。
The text was updated successfully, but these errors were encountered: