mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
修改课程权限
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user