Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
0fc13b24
Commit
0fc13b24
authored
Sep 28, 2025
by
lg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善注册完跳回活动页刷新逻辑
parent
a734e0d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
pages.json
pages.json
+1
-2
index.vue
pages/activity/index.vue
+2
-2
register.vue
pages/activity/register.vue
+3
-1
No files found.
pages.json
View file @
0fc13b24
...
...
@@ -37,8 +37,7 @@
{
"path"
:
"pages/activity/register"
,
"style"
:
{
"navigationBarTitleText"
:
"注册"
,
"navigationStyle"
:
"custom"
"navigationBarTitleText"
:
"注册"
}
},
{
...
...
pages/activity/index.vue
View file @
0fc13b24
...
...
@@ -51,8 +51,6 @@ function joinUrlAndQs(url, qs) {
function
initOk
()
{
console
.
log
(
userStore
.
userInfo
)
registered
.
value
=
getRegistered
()
let
url
=
""
;
const
options
=
pageOptions
.
value
...
...
@@ -98,6 +96,8 @@ onLoad(async (options) => {
await
userStore
.
normalAutoLogin
()
await
userStore
.
loadUserInfo
()
registered
.
value
=
getRegistered
()
if
(
options
.
needLogin
&&
!
registered
.
value
)
{
jump
({
type
:
JumpType
.
INNER
,
...
...
pages/activity/register.vue
View file @
0fc13b24
...
...
@@ -10,10 +10,12 @@ const userStore = useUserStore();
const
showRegisterLayer
=
ref
(
false
);
const
readProtocol
=
ref
(
true
);
function
onRegisterConfirm
(
data
)
{
async
function
onRegisterConfirm
(
data
)
{
console
.
log
(
'注册确认:'
,
data
);
showRegisterLayer
.
value
=
false
;
await
userStore
.
loadUserInfo
()
uni
.
navigateBack
({
delta
:
1
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment