Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
0524b5cb
Commit
0524b5cb
authored
Apr 01, 2021
by
张卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销信息判空
parent
a6aa477a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pages/home/index.vue
+1
-1
src/pages/login/index.vue
+1
-1
No files found.
src/pages/home/index.vue
View file @
0524b5cb
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
that
.
showMyCard
=
res
;
that
.
showMyCard
=
res
;
})
})
//获取分销信息
//获取分销信息
this
.
getSpokesmanInit
(
JSON
.
parse
(
wx
.
getStorageSync
(
"becomeInfo"
))
)
this
.
getSpokesmanInit
(
wx
.
getStorageSync
(
"becomeInfo"
)?
JSON
.
parse
(
wx
.
getStorageSync
(
"becomeInfo"
)):
''
)
}
}
// 来源
// 来源
if
(
options
.
from
==
"logout"
)
{
if
(
options
.
from
==
"logout"
)
{
...
...
src/pages/login/index.vue
View file @
0524b5cb
...
@@ -313,7 +313,7 @@ export default {
...
@@ -313,7 +313,7 @@ export default {
// 是否跳转h5或小程序
// 是否跳转h5或小程序
pushPageType
(){
pushPageType
(){
//绑定上下级关系
//绑定上下级关系
app
.
fenxiaoModel
.
becomeRelation
(
JSON
.
parse
(
wx
.
getStorageSync
(
"becomeInfo"
))
).
then
(
res
=>
{
app
.
fenxiaoModel
.
becomeRelation
(
wx
.
getStorageSync
(
"becomeInfo"
)?
JSON
.
parse
(
wx
.
getStorageSync
(
"becomeInfo"
)):
''
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
wx
.
removeStorage
({
wx
.
removeStorage
({
key
:
"becomeInfo"
key
:
"becomeInfo"
...
...
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