mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 19:06:46 +08:00
修改权限
This commit is contained in:
@@ -353,6 +353,7 @@
|
||||
this.sectionList = rs.result.sections;
|
||||
//study info
|
||||
this.loadStudyInfo();
|
||||
this.isSignUp()
|
||||
} else {
|
||||
this.$refs.messager.show({
|
||||
message: rs.message,
|
||||
@@ -369,6 +370,19 @@
|
||||
});
|
||||
});
|
||||
},
|
||||
isSignUp() {
|
||||
apiCourseStudy.hasSignup(this.courseId).then(res =>{
|
||||
if(res.result) {
|
||||
apiCourseStudy.lastStudy().then(rs=>{
|
||||
if(rs.status==200){
|
||||
this.studyName="继续学习";
|
||||
}
|
||||
});
|
||||
} else {
|
||||
//this.startSigningUp();
|
||||
}
|
||||
})
|
||||
},
|
||||
loadAuthorInfo(list, ids) {
|
||||
//加载作者信息,头像,机构信息
|
||||
if (ids.length == 0) {
|
||||
|
||||
Reference in New Issue
Block a user