Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
程默
mayi-mp-shop
Commits
7acdf1ab
Commit
7acdf1ab
authored
Jul 28, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录问题修改
parent
533a70e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/components/login/loginUserAgreement.vue
+2
-2
src/pages/login/index.vue
+3
-3
No files found.
src/components/login/loginUserAgreement.vue
View file @
7acdf1ab
...
@@ -79,11 +79,11 @@ export default {
...
@@ -79,11 +79,11 @@ export default {
if
(
!
this
.
render
)
return
;
if
(
!
this
.
render
)
return
;
this
.
contentShow
=
false
;
this
.
contentShow
=
false
;
this
.
checked
=
true
;
this
.
checked
=
true
;
this
.
$emit
(
"conF"
);
this
.
$emit
(
"conF"
,
this
.
checked
);
},
},
conF1
()
{
conF1
()
{
this
.
checked
=
!
this
.
checked
;
this
.
checked
=
!
this
.
checked
;
this
.
$emit
(
"conF"
);
this
.
$emit
(
"conF"
,
this
.
checked
);
},
},
closeDia
()
{
closeDia
()
{
if
(
!
this
.
render
)
return
;
if
(
!
this
.
render
)
return
;
...
...
src/pages/login/index.vue
View file @
7acdf1ab
...
@@ -243,8 +243,8 @@ export default {
...
@@ -243,8 +243,8 @@ export default {
back
()
{
back
()
{
wx
.
navigateBack
()
wx
.
navigateBack
()
},
},
conF
()
{
conF
(
val
)
{
this
.
checked
=
true
;
this
.
checked
=
val
;
},
},
getshop
()
{
getshop
()
{
this
.
shopName
=
wx
.
getStorageSync
(
"shopName"
);
this
.
shopName
=
wx
.
getStorageSync
(
"shopName"
);
...
@@ -796,6 +796,7 @@ export default {
...
@@ -796,6 +796,7 @@ export default {
login
login
.
getLogin
(
val
)
.
getLogin
(
val
)
.
then
(
res
=>
{
.
then
(
res
=>
{
wx
.
hideLoading
();
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
backParams
+=
`&sessionid=
${
this
.
backParams
+=
`&sessionid=
${
res
.
data
.
data
.
sessionId
res
.
data
.
data
.
sessionId
...
@@ -818,7 +819,6 @@ export default {
...
@@ -818,7 +819,6 @@ export default {
}
else
{
}
else
{
wx
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
})
wx
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
})
}
}
wx
.
hideLoading
();
})
})
},
},
setOpenId
()
{
setOpenId
()
{
...
...
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