Showing
2 changed files
with
3 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-12 12:32:54 | 4 | + * @LastEditTime: 2025-09-13 09:55:16 |
| 5 | * @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue | 5 | * @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue |
| 6 | * @Description: 活动海报页面 - 展示活动信息并处理定位授权 | 6 | * @Description: 活动海报页面 - 展示活动信息并处理定位授权 |
| 7 | --> | 7 | --> |
| ... | @@ -343,7 +343,7 @@ const checkFamilyStatusAndJoinActivity = async () => { | ... | @@ -343,7 +343,7 @@ const checkFamilyStatusAndJoinActivity = async () => { |
| 343 | confirmText: '前往加入', | 343 | confirmText: '前往加入', |
| 344 | success: (res) => { | 344 | success: (res) => { |
| 345 | if (res.confirm) { | 345 | if (res.confirm) { |
| 346 | - Taro.navigateTo({ | 346 | + Taro.redirectTo({ |
| 347 | url: '/pages/Welcome/index', | 347 | url: '/pages/Welcome/index', |
| 348 | }); | 348 | }); |
| 349 | } | 349 | } | ... | ... |
| ... | @@ -345,7 +345,7 @@ const refreshDashboardData = async () => { | ... | @@ -345,7 +345,7 @@ const refreshDashboardData = async () => { |
| 345 | // 如果用户没有加入家庭,跳转到欢迎页面 | 345 | // 如果用户没有加入家庭,跳转到欢迎页面 |
| 346 | if (!hasFamily) { | 346 | if (!hasFamily) { |
| 347 | console.warn('用户未加入家庭,跳转到欢迎页面'); | 347 | console.warn('用户未加入家庭,跳转到欢迎页面'); |
| 348 | - await Taro.navigateTo({ | 348 | + await Taro.redirectTo({ |
| 349 | url: '/pages/Welcome/index' | 349 | url: '/pages/Welcome/index' |
| 350 | }) | 350 | }) |
| 351 | return | 351 | return | ... | ... |
-
Please register or login to post a comment