修改兴趣弹窗逻辑

This commit is contained in:
weinan2087
2022-10-19 15:17:21 +08:00
parent 522ffeadbd
commit 55afd68abb

View File

@@ -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() {