mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 18:06:44 +08:00
修改弹框可见
This commit is contained in:
@@ -1322,14 +1322,17 @@
|
|||||||
audiences:this.audiences
|
audiences:this.audiences
|
||||||
}).then(rs => {
|
}).then(rs => {
|
||||||
if (rs.status == 200) {
|
if (rs.status == 200) {
|
||||||
|
if(rs.result.isPermission){
|
||||||
|
this.protocolDialogVisible=true
|
||||||
|
}
|
||||||
if (!rs.result.isPermission || (rs.result.isPermission && this.Internet==1)){
|
if (!rs.result.isPermission || (rs.result.isPermission && this.Internet==1)){
|
||||||
// this.getInternet()
|
// this.getInternet()
|
||||||
this.renderCourse = true
|
this.renderCourse = true
|
||||||
}else{
|
}else{
|
||||||
// this.Internet=1;
|
// this.Internet=1;
|
||||||
this.renderCourse = false
|
this.renderCourse = false
|
||||||
|
this.protocolDialogVisible=true
|
||||||
}
|
}
|
||||||
this.protocolDialogVisible=true
|
|
||||||
if(rs.result.contents.length==0){
|
if(rs.result.contents.length==0){
|
||||||
$this.$message.error('课程内容已删除或课程已不再使用');
|
$this.$message.error('课程内容已删除或课程已不再使用');
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user