mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
修改弹框可见
This commit is contained in:
@@ -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
|
||||
}
|
||||
this.protocolDialogVisible=true
|
||||
if(rs.result.contents.length==0){
|
||||
$this.$message.error('课程内容已删除或课程已不再使用');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user