Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat-common
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
xiaomai-cloud-class
wechat-common
Commits
34ac68a8
Commit
34ac68a8
authored
Aug 14, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:冒烟bug修复
parent
178cdcc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/modules/authorize/index.jsx
+2
-2
No files found.
src/modules/authorize/index.jsx
View file @
34ac68a8
...
...
@@ -61,7 +61,7 @@ class Authorize extends React.Component {
localStorage
.
setItem
(
'wechat-common_user_avatar_url'
,
res
.
result
.
headImgUrl
||
'https://image.xiaomaiketang.com/xm/HsCjyKTbWw.png'
)
localStorage
.
setItem
(
'wechat-common_user_open_id'
,
res
.
result
.
openId
)
localStorage
.
setItem
(
'wechat-common_user_nick_name'
,
res
.
result
.
nickName
)
//
if(!res.result.whetherOld){
if
(
!
res
.
result
.
whetherOld
){
//1.审核开关打开,并且新用户第一次登陆,未提交过审核(审核状态为空)跳转提交审核页面
if
(
res
.
result
.
auditSwitch
===
'OPEN'
&&
!
res
.
result
.
applyStatus
){
window
.
RCHistory
.
replace
(
`/wechat-audit?storeId=
${
storeId
}
`
);
...
...
@@ -72,7 +72,7 @@ class Authorize extends React.Component {
window
.
RCHistory
.
replace
(
`/wechat-audit-result?storeId=
${
storeId
}
`
);
return
}
//
}
}
this
.
setState
({
hasBindWechat
:
true
,
headImgUrl
:
res
.
result
.
headImgUrl
,
...
...
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