Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
Project
Project
Details
Activity
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
ynby
folacin-front
Commits
ccd055af
Commit
ccd055af
authored
Feb 18, 2025
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户id获取
parent
9b3830f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
index.vue
folacin-app/src/views/index/index.vue
+12
-12
No files found.
folacin-app/src/views/index/index.vue
View file @
ccd055af
<
template
>
<div>
<van-nav-bar
fixed
>
<template
#
title
>
<div
@
click=
"debugInfo"
>
提示
</div>
</
template
>
</van-nav-bar>
<br>
<br>
<van-divider
/>
<div
v-if=
"msg"
>
<van-nav-bar
fixed
>
<template
#
title
>
<div
@
click=
"debugInfo"
>
提示
</div>
</
template
>
</van-nav-bar>
<br>
<br>
<van-divider/>
<br><br><br><br>
<van-empty
image=
"error"
:description=
"msg"
/>
<van-button
style=
"margin-left: 10%;width: 80%"
round
type=
"danger"
color=
"#EC808D"
@
click=
"handleBack()"
>
...
...
@@ -55,7 +55,7 @@ export default {
account
:
'18487125843'
,
token
:
'd2e2c11475a04436bbcf1ca96a7ee056'
,
userId
:
null
,
domain
:
window
.
location
.
href
,
domain
:
this
.
$route
.
path
,
};
this
.
initUserInfo
(
userInfo
);
this
.
getUserByToken
(
userInfo
);
...
...
@@ -65,7 +65,7 @@ export default {
account
:
query
.
account
,
token
:
query
.
token
,
userId
:
null
,
domain
:
window
.
location
.
href
,
domain
:
this
.
$route
.
path
,
};
this
.
initUserInfo
(
userInfo
);
if
(
!
userInfo
.
token
&&
!
userInfo
.
account
)
{
...
...
@@ -120,7 +120,7 @@ export default {
});
this
.
$router
.
push
(
'provideUnit'
);
},
debugInfo
(){
debugInfo
()
{
this
.
$router
.
push
(
'debugInfo'
);
},
},
...
...
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