Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
23adcb88
Commit
23adcb88
authored
Mar 13, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、邀请加盟人登录时获取最新token; 2、手机号校验调整
parent
acd5a129
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
pages/invitationRegister/invitationlogin.vue
+9
-6
No files found.
pages/invitationRegister/invitationlogin.vue
View file @
23adcb88
...
...
@@ -74,17 +74,19 @@
type
:
"1"
,
source
:
"cffp"
}
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)
&&
!
this
.
disabledSendBtn
){
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)){
if
(
!
this
.
disabledSendBtn
){
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
delayTime
()
}
else
{
common
.
errorDialog
(
2
,
res
[
'message'
])
}
})
}
}
else
{
common
.
errorDialog
(
2
,
'手机号校验错误'
)
}
},
getFile
(
type
){
uni
.
navigateTo
({
...
...
@@ -129,9 +131,10 @@
api
.
loginVerification
(
params
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
uni
.
setStorageSync
(
'isLogin'
,
'1'
)
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
)
uni
.
setStorageSync
(
'isH5'
,
1
)
uni
.
setStorageSync
(
'isLogin'
,
'1'
);
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
);
uni
.
setStorageSync
(
'isH5'
,
1
);
uni
.
setStorageSync
(
'uni-token'
,
res
.
data
[
'token'
]);
uni
.
navigateTo
({
url
:
'/pages/application-process/basic-info?userId='
+
this
.
userId
+
'&shareId='
+
this
.
form
.
id
})
...
...
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