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
62f3c838
Commit
62f3c838
authored
Oct 23, 2025
by
劳琪峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修复新用户登录后没有进行助力的问题
parent
5b0607d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
InviteTask.vue
activities/1015/components/InviteTask.vue
+2
-3
home.vue
activities/1015/home.vue
+1
-0
No files found.
activities/1015/components/InviteTask.vue
View file @
62f3c838
...
...
@@ -67,7 +67,6 @@ async function tryAssist() {
duration
:
2000
});
isAssist
.
value
=
true
;
// 助力成功后重新获取数据
await
updateInvitationInfo
();
return
Promise
.
resolve
();
}
else
{
...
...
@@ -91,7 +90,7 @@ async function tryAssist() {
}
async
function
initComponent
()
{
await
tryAssist
()
await
tryAssist
()
.
catch
(
console
.
log
)
// catch是为了不阻断逻辑
await
updateInvitationInfo
()
...
...
@@ -128,7 +127,7 @@ onMounted(async () => {
<template
v-for=
"i in 2"
>
<image
v-if=
"i
-1
<
2
-
invitationInfo
.
nextRewardNeedCount
"
v-if=
"i
sLogin ? i-1
<
2
-
invitationInfo
.
nextRewardNeedCount
:
false
"
class=
"avatar"
:src=
"getCdnUrl('home/icon-fill.png')"
/>
...
...
activities/1015/home.vue
View file @
62f3c838
...
...
@@ -62,6 +62,7 @@ const isLogin = computed(()=>{
})
function
updateShareData
(
data
)
{
console
.
log
(
'updateShareData:'
,
data
)
Object
.
assign
(
shareData
.
value
,
data
)
}
...
...
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