修改课程权限

This commit is contained in:
zhangsir
2023-11-23 13:40:00 +08:00
parent 8f9b596a84
commit 11d807cb88
5 changed files with 63 additions and 11 deletions

View File

@@ -101,6 +101,10 @@ export default {
type:String,
default:'right'
},
isCrowd:{
type:Boolean,
default:false
},
answers:{
type:Boolean,
default:false
@@ -182,6 +186,9 @@ export default {
},
methods:{
handleComment() {
if(!this.isCrowd){
return
}
this.$emit('handle-comment');
},
messageSave(refId,title,sendName,acceptName,acceptId,typeText){
@@ -472,6 +479,9 @@ export default {
}
},
addFavorite(){
if(!this.isCrowd){
return
}
if(this.type==0){
console.log('未设置type值,1表课程,2表文章3表案例4表问答')
return;
@@ -532,6 +542,9 @@ export default {
this.inputShow=false;
},
addShare(){
if(!this.isCrowd){
return
}
//分享
this.$refs.comShare.openShare();
}