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
55837e6c
Commit
55837e6c
authored
Feb 12, 2025
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件
parent
000eccd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.vue
folacin-app/src/views/index/index.vue
+5
-3
No files found.
folacin-app/src/views/index/index.vue
View file @
55837e6c
...
...
@@ -36,8 +36,7 @@ export default {
};
},
mounted
()
{
console
.
log
(
query
);
if
(
process
.
env
.
NODE_ENV
==
"dev"
)
{
if
(
process
.
env
.
NODE_ENV
==
"dev1"
)
{
let
userInfo
=
{
account
:
'18487125843'
,
token
:
'7de354fd8be1484cacbc41e96fe88d7e'
,
...
...
@@ -54,7 +53,10 @@ export default {
};
if
(
!
userInfo
.
userId
&&
!
userInfo
.
account
)
{
this
.
msg
=
"用户信息获取失败!"
callMobile
(
'init'
,
{});
let
vm
=
this
;
setTimeout
(
function
(){
callMobile
(
'init'
,
{});
},
3000
)
}
else
{
if
(
!
userInfo
.
userId
||
!
userInfo
.
account
)
{
this
.
msg
=
"用户信息获取失败!"
...
...
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