Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
411a2e97
Commit
411a2e97
authored
Jan 16, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
844f194b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
index.vue
components/auth/index.vue
+3
-2
user-center.vue
pages/user-center/user-center.vue
+1
-1
No files found.
components/auth/index.vue
View file @
411a2e97
...
...
@@ -218,8 +218,9 @@
b2bResult
.
isMember
=
b2bData
.
isMember
;
b2bResult
.
account
=
b2bData
.
account
;
b2bResult
.
createBy
=
b2bData
.
createBy
;
b2bResult
.
salesBaseInfo
=
b2bData
.
salesBaseInfo
;
b2bResult
.
groupId
=
b2bData
.
groupId
;
b2bResult
.
salesBaseInfo
=
b2bData
.
salesBaseInfo
;
b2bResult
.
groupId
=
b2bData
.
groupId
;
b2bResult
.
contactNumber
=
b2bData
.
contactNumber
;
uni
.
setStorageSync
(
'b2b_user'
,
b2bResult
)
}
},
(
error2
)
=>
{
...
...
pages/user-center/user-center.vue
View file @
411a2e97
...
...
@@ -352,7 +352,6 @@
0
;
},
methods
:
{
signOutHandler
()
{
uni
.
removeStorageSync
(
'b2b_user'
)
uni
.
removeStorageSync
(
'mall_UserInfo'
)
...
...
@@ -562,6 +561,7 @@
this
.
u
=
this
.
user_info
;
this
.
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
)
:
{};
this
.
b2b_user_info
=
uni
.
getStorageSync
(
'b2b_user'
);
this
.
getUserPoint
();
},
login
(
name
)
{
...
...
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