From 55afd68abb85ffe161eefa98beaaa9c9368a66ce Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Wed, 19 Oct 2022 15:17:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=B4=E8=B6=A3=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/interestCollection.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Portal/interestCollection.vue b/src/components/Portal/interestCollection.vue index ff16676f..b372dc7f 100644 --- a/src/components/Portal/interestCollection.vue +++ b/src/components/Portal/interestCollection.vue @@ -60,7 +60,11 @@ } // 3. 判断用户是否点击"关闭"按钮,如果点击"关闭"按钮则在当前session不在弹窗 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() {