Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-13 09:56:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e419283f8e4e339fa2d0475103820e8601251c1c
e419283f
1 parent
76cc495e
fix: 将 navigateTo 替换为 redirectTo 以避免页面堆栈问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/pages/ActivitiesCover/index.vue
src/pages/Dashboard/index.vue
src/pages/ActivitiesCover/index.vue
View file @
e419283
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-1
2 12:32:54
* @LastEditTime: 2025-09-1
3 09:55:16
* @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue
* @Description: 活动海报页面 - 展示活动信息并处理定位授权
-->
...
...
@@ -343,7 +343,7 @@ const checkFamilyStatusAndJoinActivity = async () => {
confirmText: '前往加入',
success: (res) => {
if (res.confirm) {
Taro.
navigate
To({
Taro.
redirect
To({
url: '/pages/Welcome/index',
});
}
...
...
src/pages/Dashboard/index.vue
View file @
e419283
...
...
@@ -345,7 +345,7 @@ const refreshDashboardData = async () => {
// 如果用户没有加入家庭,跳转到欢迎页面
if (!hasFamily) {
console.warn('用户未加入家庭,跳转到欢迎页面');
await Taro.
navigate
To({
await Taro.
redirect
To({
url: '/pages/Welcome/index'
})
return
...
...
Please
register
or
login
to post a comment