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
7959da1d
Commit
7959da1d
authored
Feb 18, 2025
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户id获取
parent
edd2f347
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
debugInfo.vue
folacin-app/src/views/index/debugInfo.vue
+0
-3
index.vue
folacin-app/src/views/index/index.vue
+2
-4
No files found.
folacin-app/src/views/index/debugInfo.vue
View file @
7959da1d
...
...
@@ -19,9 +19,6 @@
<van-cell
:title=
"'账号: '+userInfo.account"
/>
<van-cell
:title=
"'用户ID: '+userInfo.userId"
/>
<van-cell
:title=
"'接入地址: '+userInfo.domain"
/>
<van-cell
title=
"location:"
>
{{userInfo.location}}
</van-cell>
</van-list>
<br>
<van-button
style=
"margin-left: 10%;width: 80%"
round
type=
"primary"
color=
"#1989fa"
@
click=
"copyUserInfo()"
>
...
...
folacin-app/src/views/index/index.vue
View file @
7959da1d
...
...
@@ -55,8 +55,7 @@ export default {
account
:
'18487125843'
,
token
:
'd2e2c11475a04436bbcf1ca96a7ee056'
,
userId
:
null
,
domain
:
window
.
location
.
href
,
location
:
window
.
location
domain
:
window
.
location
.
href
};
this
.
initUserInfo
(
userInfo
);
this
.
getUserByToken
(
userInfo
);
...
...
@@ -66,8 +65,7 @@ export default {
account
:
query
.
account
,
token
:
query
.
token
,
userId
:
null
,
domain
:
window
.
location
.
href
,
location
:
window
.
location
domain
:
window
.
location
.
href
};
this
.
initUserInfo
(
userInfo
);
if
(
!
userInfo
.
token
&&
!
userInfo
.
account
)
{
...
...
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