This commit is contained in:
zhaofang
2022-10-20 14:52:34 +08:00
parent fc950420f5
commit 8a8a1cd18a
2 changed files with 4 additions and 1 deletions

View File

@@ -48,7 +48,7 @@
if(res.result == false){
this.interestCollection = true;
}
if(res.result == true){this.interestCollection = false;return;}
if(res.result == true){this.interestCollection = true;return;}
// 2. 判断用户是否点击过"暂不选择"按钮,如果用户点击过"暂不选择"按钮则判断点击"暂不选择"按钮天数是否大于15天如果大于则弹出兴趣偏好框否则不弹
let time = localStorage.getItem('notYet'+this.userInfo.aid);
if(!time == '' || time != null) {

3
src/utils/bus.js Normal file
View File

@@ -0,0 +1,3 @@
import Vue from 'vue'
const Bus = new Vue();
export default Bus;