Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
80e15f3d
Commit
80e15f3d
authored
May 21, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的页面切换
parent
d3d0f3c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
mine.vue
src/pages/index/mine.vue
+1
-4
index.vue
src/pages/mine/superLogin/index.vue
+10
-2
No files found.
src/pages/index/mine.vue
View file @
80e15f3d
...
@@ -135,11 +135,8 @@
...
@@ -135,11 +135,8 @@
}
}
},
},
onLoad
()
{
onLoad
()
{
app
.
trackPage
(
'我的首页'
)
app
.
trackPage
(
'我的首页'
)
console
.
log
(
'-------000-------'
)
if
(
this
.
vuex_token
)
{
if
(
this
.
vuex_token
)
{
console
.
log
(
'-------1111-------'
)
if
(
!
this
.
showSuperButton
)
{
if
(
!
this
.
showSuperButton
)
{
this
.
allowLogin
()
this
.
allowLogin
()
}
}
...
...
src/pages/mine/superLogin/index.vue
View file @
80e15f3d
...
@@ -25,8 +25,16 @@
...
@@ -25,8 +25,16 @@
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
&&
res
.
code
==
200
)
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
$u
.
vuex
(
"vuex_token"
,
res
.
data
);
this
.
$u
.
vuex
(
"vuex_token"
,
res
.
data
);
uni
.
navigateBack
({
})
const
callBack
=
(
vm
,
result
)
=>
{
if
(
result
&&
result
.
record
)
{
uni
.
navigateBack
({
})
}
};
await
getApp
().
getBaseInfo
(
this
,
callBack
);
}
}
},
},
...
...
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