diff --git a/src/components/PublicComponent/PublicComponent.vue b/src/components/PublicComponent/PublicComponent.vue index 420687c..95ee13b 100644 --- a/src/components/PublicComponent/PublicComponent.vue +++ b/src/components/PublicComponent/PublicComponent.vue @@ -48,10 +48,10 @@ const Time = defineAsyncComponent(() => import('@/base/Time/Time.vue')) const router = useRouter() const route = useRoute() const store = useStore() -const { shop, sidebarList, language, enhanced, indexList, shopList } = storeToRefs(store) +const { shop, language, enhanced, indexList, shopList } = storeToRefs(store) const { logoutRef, resetClickNumber, setLogoutRef, addTotalClick } = useLogout() -const { title, countDownGif, countDownNum, send, checkHandleScreen } = useHandleScreen(handleScreen) +const { isWall, title, countDownGif, countDownNum, countDownToWall, send, checkHandleScreen } = useHandleScreen(handleScreen) const hotRecommend = computed(() => indexList.value?.hotSearch?.slice(0, 5) ?? []) const handleHot = item => { @@ -76,8 +76,8 @@ async function handleScreen() { setLogoutRef(false) resetClickNumber() language.value !== 'zh' && store.SET_LANGUAGE('zh') - store.SET_SHOP(null) await router.push('/guide') + store.SET_SHOP(null) } const timer = ref(null)