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 3ceef9bc
authored
Oct 17, 2022
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改注册成功后的跳转
1 parent
8dd71dc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
pages/authentication/registerInfo/registerInfo.js
project.config.json
pages/authentication/registerInfo/registerInfo.js
View file @
3ceef9b
...
@@ -104,7 +104,7 @@ Page({
...
@@ -104,7 +104,7 @@ Page({
}
}
console
.
log
(
params
,
'ddd'
)
console
.
log
(
params
,
'ddd'
)
USERAPI
.
register
(
params
).
then
((
res
)
=>
{
USERAPI
.
register
(
params
).
then
((
res
)
=>
{
if
(
code
==
'0'
){
if
(
res
.
code
==
'0'
){
wx
.
$router
.
go
(
'/pages/authentication/registerSuccess/registerSuccess'
,{
type
:
0
})
wx
.
$router
.
go
(
'/pages/authentication/registerSuccess/registerSuccess'
,{
type
:
0
})
}
else
{
}
else
{
wx
.
$api
.
showToast
(
message
||
'系统异常'
)
wx
.
$api
.
showToast
(
message
||
'系统异常'
)
...
...
project.config.json
View file @
3ceef9b
...
@@ -61,5 +61,5 @@
...
@@ -61,5 +61,5 @@
],
],
"include"
:
[]
"include"
:
[]
},
},
"appid"
:
"wx
570d9331f9ace0bd
"
"appid"
:
"wx
e10067a63c1856ac
"
}
}
\ No newline at end of file
\ No newline at end of file
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