Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
李伟
cust-app
Commits
1506eed7
Commit
1506eed7
authored
Jan 18, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了查看会员详情页面的判断
parent
b2bb1b28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
index.vue
pages/tab/index.vue
+14
-3
No files found.
pages/tab/index.vue
View file @
1506eed7
...
...
@@ -175,9 +175,20 @@
},
//查看会员详情
gotoUserDetail
(
item
){
uni
.
navigateTo
({
url
:
'/pagesUser/userInfo?memberId='
+
item
.
businessId
})
//没登录 不能查看会员详情
const
token
=
uni
.
getStorageSync
(
'token'
)
if
(
token
==
null
||
token
==
''
||
token
==
undefined
){
//没登录 提示请先登录
uni
.
showToast
({
title
:
'请先登录'
,
icon
:
'none'
,
duration
:
1000
})
}
else
{
uni
.
navigateTo
({
url
:
'/pagesUser/userInfo?memberId='
+
item
.
businessId
})
}
},
},
};
...
...
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