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
72697820
Commit
72697820
authored
Jul 09, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat: 退出登录一直登不上
parent
0ae56da6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/pages/login/index.vue
+5
-4
No files found.
src/pages/login/index.vue
View file @
72697820
...
@@ -219,10 +219,11 @@ export default {
...
@@ -219,10 +219,11 @@ export default {
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
//mpvue 的混合周期 使用小程序生命周期数据未初始化
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
//mpvue 的混合周期 使用小程序生命周期数据未初始化
options
.
scene
&&
(
this
.
scene
=
options
.
scene
)
options
.
scene
&&
(
this
.
scene
=
options
.
scene
)
if
(
options
.
back
)
{
if
(
options
.
back
)
{
if
(
options
.
isEncode
==
1
)
{
let
backPath
=
decodeURIComponent
(
options
.
back
);
this
.
backPath
=
decodeURIComponent
(
options
.
back
);
if
(
backPath
.
includes
(
'?from=logout'
))
{
}
else
{
this
.
backPath
=
backPath
.
split
(
'?from=logout'
)[
0
];
this
.
backPath
=
options
.
back
;
}
else
{
this
.
backPath
=
backPath
;
}
}
}
}
console
.
log
(
this
.
backPath
,
'-----backPath'
)
console
.
log
(
this
.
backPath
,
'-----backPath'
)
...
...
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