Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4c9dabf6
authored
Oct 20, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zq_dev_3.0' into 'v3.0'
Zq dev 3.0 See merge request
!42
2 parents
d10615d7
ab7344d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
pages/authentication/register/register.js
pages/authentication/register/register.js
View file @
4c9dabf
...
...
@@ -64,9 +64,16 @@ Page({
message
,
errId
})
=>
{
if
(
code
==
'0'
){
wx
.
$router
.
go
(
'/pages/authentication/registerSuccess/registerSuccess'
,{
type
:
0
})
}
else
if
(
errId
==
'30990103'
){
if
(
code
==
'0'
||
errId
==
'30990103'
){
let
target
=
null
if
(
code
==
'0'
&&
data
.
loginUserInfoList
?.
length
){
let
{
loginUserInfoList
}
=
data
target
=
loginUserInfoList
.
find
(
item
=>
item
.
merchantId
==
this
.
data
.
linkParams
.
merchantId
)
}
if
(
target
){
wx
.
$router
.
go
(
'/pages/authentication/registerSuccess/registerSuccess'
,{
type
:
0
})
return
;
}
let
params
=
{...
this
.
data
.
linkParams
}
if
(
this
.
data
.
linkParams
.
type
==
1
){
wx
.
$router
.
go
(
'/pages/authentication/registerInfo/registerInfo'
,
params
)
...
...
@@ -91,7 +98,7 @@ Page({
}).
catch
(({
errMsg
})
=>
{
wx
.
$api
.
showToast
(
message
||
'系统异常'
)
wx
.
$api
.
showToast
(
'系统异常'
)
})
},
register
(
params
){
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment