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
16ce19d4
Commit
16ce19d4
authored
Nov 05, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
36181e62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
webview.vue
pages/gameWebview/webview.vue
+6
-3
No files found.
pages/gameWebview/webview.vue
View file @
16ce19d4
...
...
@@ -138,10 +138,13 @@ const initWebviewUrl = async () => {
// 获取会员信息(优先从 memberInfo 获取,如果没有则从 userInfo 获取)
const
memberInfo
=
userStore
.
memberInfo
||
userStore
.
userInfo
const
babyInfo
=
userStore
.
babyInfo
// 添加微信昵称(如果存在)
if
(
memberInfo
?.
memberName
)
{
params
.
wxNickName
=
memberInfo
.
memberName
// 添加微信昵称(优先使用 babyInfo.babyName,没有则使用默认值)
if
(
babyInfo
?.
babyName
)
{
params
.
wxNickName
=
babyInfo
.
babyName
}
else
{
params
.
wxNickName
=
'暂无昵称'
}
// 添加 memberId(如果已注册)
...
...
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