修改弹框可见

This commit is contained in:
joshen
2025-07-25 21:01:58 +08:00
parent 995933ae56
commit d237dc99ee

View File

@@ -1322,14 +1322,17 @@
audiences:this.audiences
}).then(rs => {
if (rs.status == 200) {
if(rs.result.isPermission){
this.protocolDialogVisible=true
}
if (!rs.result.isPermission || (rs.result.isPermission && this.Internet==1)){
// this.getInternet()
this.renderCourse = true
}else{
// this.Internet=1;
this.renderCourse = false
}
this.protocolDialogVisible=true
}
if(rs.result.contents.length==0){
$this.$message.error('课程内容已删除或课程已不再使用');
return;