Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
95655fc5
Commit
95655fc5
authored
Oct 25, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d75c074b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
login.vue
pages/jiuzhai/login.vue
+9
-3
No files found.
pages/jiuzhai/login.vue
View file @
95655fc5
...
...
@@ -53,7 +53,7 @@
},
loginByOpenId
(){
if
(
this
.
msg
.
OpenId
!=
''
){
this
.
loginErpHandler
()
this
.
loginErpHandler
(
1
)
}
else
{
uni
.
showToast
({
icon
:
'none'
,
...
...
@@ -61,13 +61,19 @@
})
}
},
loginErpHandler
(){
loginErpHandler
(
t
=
0
){
if
(
this
.
loginLoading
)
return
;
this
.
loginLoading
=
true
uni
.
showLoading
({
title
:
'登录中...'
})
this
.
apipost
(
"b2b_post_Login"
,
this
.
msg
,(
res
)
=>
{
let
param
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
if
(
t
!=
0
){
param
.
account
=
''
param
.
password
=
''
}
this
.
apipost
(
"b2b_post_Login"
,
param
,(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
setStorageSync
(
'b2b_user'
,
res
.
data
)
this
.
getLogin
()
...
...
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