Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
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
wangxuelai
wechatapp.shangjiadao.com
Commits
e1630043
Commit
e1630043
authored
Sep 19, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9b2324e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
index.js
components/sjdbottombar/index.js
+13
-1
No files found.
components/sjdbottombar/index.js
View file @
e1630043
...
...
@@ -28,7 +28,19 @@ Component({
},
methods
:
{
goUserBusiness
()
{
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
)
||
{};
let
user
=
LocalStorage
.
getItem
(
'user'
);
let
dakarole
=
LocalStorage
.
getItem
(
'dakarole'
);
if
(
user
&&
user
.
token
){
LocalStorage
.
setItem
(
'dakarole'
,
1
);
wx
.
redirectTo
({
url
:
`/business/pages/exchangebusiness/index?from=1`
})
return
}
getMember
({
consumer_id
:
visitor
&&
visitor
.
id
}).
then
(
res
=>
{
...
...
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