Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
43c8a4df
Commit
43c8a4df
authored
Mar 30, 2018
by
Junling Bu
Browse files
当用户已登录时,则不执行登录操作。
parent
655a5bc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/ucenter/index/index.js
View file @
43c8a4df
...
@@ -35,7 +35,9 @@ Page({
...
@@ -35,7 +35,9 @@ Page({
// 页面关闭
// 页面关闭
},
},
goLogin
(){
goLogin
(){
wx
.
navigateTo
({
url
:
"
/pages/auth/login/login
"
});
if
(
!
app
.
globalData
.
hasLogin
)
{
wx
.
navigateTo
({
url
:
"
/pages/auth/login/login
"
});
}
},
},
goOrder
()
{
goOrder
()
{
if
(
app
.
globalData
.
hasLogin
)
{
if
(
app
.
globalData
.
hasLogin
)
{
...
...
Write
Preview
Supports
Markdown
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