fix(初始化): 初始化参数出错
This commit is contained in:
parent
72816c186c
commit
88a66cc5ca
@ -915,7 +915,7 @@ const updatePageData = () => {
|
|||||||
// 组件挂载时检测环境
|
// 组件挂载时检测环境
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
isInAppEnvironment.value = isInApp()
|
isInAppEnvironment.value = isInApp()
|
||||||
usePageInitializationWithConfig()
|
usePageInitializationWithConfig('APPLY')
|
||||||
|
|
||||||
getCountdown()
|
getCountdown()
|
||||||
timer = setInterval(getCountdown, 1000) //每秒更新
|
timer = setInterval(getCountdown, 1000) //每秒更新
|
||||||
|
|||||||
@ -1072,7 +1072,7 @@ const observer = new IntersectionObserver((entries) => {
|
|||||||
|
|
||||||
// 组件挂载时检测环境
|
// 组件挂载时检测环境
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
usePageInitializationWithConfig()
|
usePageInitializationWithConfig('APPLY')
|
||||||
isInAppEnvironment.value = isInApp()
|
isInAppEnvironment.value = isInApp()
|
||||||
|
|
||||||
getCountdown()
|
getCountdown()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user