mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
修改兴趣弹窗逻辑
This commit is contained in:
@@ -60,7 +60,11 @@
|
|||||||
}
|
}
|
||||||
// 3. 判断用户是否点击"关闭"按钮,如果点击"关闭"按钮则在当前session不在弹窗
|
// 3. 判断用户是否点击"关闭"按钮,如果点击"关闭"按钮则在当前session不在弹窗
|
||||||
let current_session = sessionStorage.getItem('dialog_session_show'+this.userInfo.aid);
|
let current_session = sessionStorage.getItem('dialog_session_show'+this.userInfo.aid);
|
||||||
if(current_session == 1){this.interestCollection = false;}
|
if(current_session == 1){
|
||||||
|
this.interestCollection = false;
|
||||||
|
}else {
|
||||||
|
this.interestCollection = true;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user