Commit abc914f7 authored by 王炽's avatar 王炽

6666

parent 0a13c8f3
......@@ -1918,16 +1918,13 @@ watch(
() => globalStore.curTabIndex === 2 && !globalStore.isWxFriendCircle,
(isVisible) => {
if (isVisible) {
if(integralStore?.signinAndTaskInfo?.data?.checkInTodo?.checkInExtra?.rule) {
md.sensorComponentLogTake({
xcxComponentExposure: "true",
pageName: "积分服务页",
componentName: "签到组件",
componentContent: "立即签到"
});
}
console.log('积分页面显示 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// 这里可以添加页面显示时的逻辑
} else {
console.log('积分页面隐藏 - watch (curTabIndex:', globalStore.curTabIndex, ', isWxFriendCircle:', globalStore.isWxFriendCircle, ')');
// 这里可以添加页面隐藏时的逻辑
}
console.log('isVisible:', isVisible);
},
{ immediate: true }
);
......@@ -2013,14 +2010,14 @@ onMounted(async () => {
// if(integralStore?.signinAndTaskInfo?.data?.checkInTodo?.checkInExtra?.rule) {
// md.sensorComponentLogTake({
// xcxComponentExposure: "true",
// pageName: "积分服务页",
// componentName: "签到组件",
// componentContent: "立即签到"
// });
// }
if(integralStore?.signinAndTaskInfo?.data?.checkInTodo?.checkInExtra?.rule) {
md.sensorComponentLogTake({
xcxComponentExposure: "true",
pageName: "积分服务页",
componentName: "签到组件",
componentContent: "立即签到"
});
}
//初始化签掉数据
initSignin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment