Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-school-app
Commits
f1f712a6
Commit
f1f712a6
authored
Mar 06, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登录更新信息方式
parent
c2cf03ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Login.tsx
src/pages/Login/Login.tsx
+4
-1
No files found.
src/pages/Login/Login.tsx
View file @
f1f712a6
...
@@ -73,7 +73,10 @@ class Login extends Component {
...
@@ -73,7 +73,10 @@ class Login extends Component {
.
then
(
res
=>
{
.
then
(
res
=>
{
const
data
=
res
.
data
;
const
data
=
res
.
data
;
console
.
log
(
data
);
console
.
log
(
data
);
this
.
props
.
updateUserInfo
(
data
);
this
.
props
.
updateUserInfo
({
...
data
,
token
:
data
.
wxToken
,
});
Taro
.
navigateTo
({
Taro
.
navigateTo
({
url
:
'/pages/Home/Home'
,
url
:
'/pages/Home/Home'
,
});
});
...
...
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