Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c6681ddd
authored
May 20, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
cecd0e81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
pages/mine/user.vue
pages/mine/user.vue
View file @
c6681ddd
...
...
@@ -7,7 +7,7 @@
</navigator>
<navigator
class=
"iconfont icon-juxing1"
url=
"/user/setting"
hover-class=
"none"
></navigator>
</view>
<view
class=
"info row verCenter"
>
<view
class=
"info row verCenter"
v-if=
"userInfo.user_info"
>
<text
class=
"t1"
>
欢迎您,
{{
userInfo
.
user_info
.
mobile
}}
</text>
<text
class=
"t2 row rowCenter verCenter"
>
个人
</text>
</view>
...
...
@@ -124,6 +124,10 @@ export default {
this
.
request
(
Api_Url
+
'/user/getUserType'
,
'POST'
,
{},
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
userInfo
=
res
.
data
;
}
else
if
(
res
.
err_code
===
11012
)
{
uni
.
navigateTo
({
url
:
'/login'
});
}
});
}
...
...
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