Commit 2957c151 authored by spc's avatar spc

fixed nickname

parent 25b70058
......@@ -118,11 +118,10 @@ const initWebviewUrl = async () => {
// 获取会员信息(优先从 memberInfo 获取,如果没有则从 userInfo 获取)
const memberInfo = userStore.memberInfo || userStore.userInfo
const userInfo = userStore.userInfo
// 添加微信昵称(如果存在)
if (userInfo?.nickname) {
params.wxNickName = userInfo.nickname
if (memberInfo?.nickname) {
params.wxNickName = memberInfo.nickname
}
// 添加 memberId(如果已注册)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment