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
c0b464b9
Commit
c0b464b9
authored
Oct 27, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9a4c683a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
src/pages/login/index.vue
+1
-0
src/pages/wxArticle/index.vue
+10
-0
src/utils/themeModule.js
+0
-0
No files found.
src/pages/login/index.vue
View file @
c0b464b9
...
...
@@ -592,6 +592,7 @@ export default {
let
parseLink
=
decodeURIComponent
(
this
.
backPath
);
log
.
info
(
this
.
backPath
,
parseLink
,
'---------------------------325'
)
console
.
log
(
this
.
backPath
,
parseLink
,
'---------------------------595'
)
if
(
parseLink
.
includes
(
'/pages/'
)){
wx
.
reLaunch
({
url
:
parseLink
...
...
src/pages/wxArticle/index.vue
View file @
c0b464b9
...
...
@@ -92,10 +92,15 @@ export default {
console
.
log
(
link
,
'--------------------------57'
)
if
(
getUrlKey
(
decodeURIComponent
(
link
),
"scene"
)
==
"sso"
)
{
if
(
!
wx
.
getStorageSync
(
"sessionid"
))
{
// appraisalTwo:道可二级详情页面,之前进入道可项目所有页面都需登录,现在进入二级可不登录
if
(
!
link
.
includes
(
"appraisalTwo"
))
{
wx
.
redirectTo
({
url
:
`../login/main?scene=sso&isEncode=1&back=
${
link
}
`
,
});
}
else
{
this
.
setLink
(
decodeURIComponent
(
link
));
}
}
else
{
this
.
getSsoBcakUrl
(
decodeURIComponent
(
link
));
}
}
else
if
(
getUrlKey
(
decodeURIComponent
(
link
),
"login"
)
!=
"1"
)
{
...
...
@@ -185,6 +190,11 @@ export default {
},
};
},
watch
:{
link
()
{
console
.
log
(
this
.
link
,
'-----------------195'
)
}
},
methods
:
{
setLink
(
data
)
{
this
.
link
=
data
;
...
...
src/utils/themeModule.js
View file @
c0b464b9
This diff is collapsed.
Click to expand it.
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