Commit 395ca7a9 authored by 王炽's avatar 王炽

66666

parent 014bd6ef
......@@ -65,6 +65,24 @@ watch(() => props.visible, (newVal) => {
popName: "任务完成弹窗"
});
}
// #ifdef MP-WEIXIN
if (newVal) {
// 弹窗展示时,禁止页面滚动
wx.setPageStyle({
style: {
overflow: 'hidden'
}
});
} else {
// 弹窗关闭时,恢复页面滚动
wx.setPageStyle({
style: {
overflow: 'auto'
}
});
}
// #endif
});
// 关闭弹窗
......
......@@ -180,7 +180,7 @@ const checkAndUpdateTaskResult = async () => {
onMounted(async () => {
// globalStore.isShowInvitePrizePanel = true;return
globalStore.isShowTaskComplete = true;//?????????
// globalStore.isShowTaskComplete = true;//?????????
//任务奖品
await checkAndUpdateTaskResult();
......
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