修改权限

This commit is contained in:
zhangsir
2023-11-23 16:34:18 +08:00
parent fcb9082629
commit ba7112b8c6
3 changed files with 46 additions and 32 deletions

View File

@@ -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) {