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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
src/pages/login/index.vue
+1
-0
src/pages/wxArticle/index.vue
+13
-3
src/utils/themeModule.js
+0
-0
No files found.
src/pages/login/index.vue
View file @
c0b464b9
...
@@ -592,6 +592,7 @@ export default {
...
@@ -592,6 +592,7 @@ export default {
let
parseLink
=
decodeURIComponent
(
this
.
backPath
);
let
parseLink
=
decodeURIComponent
(
this
.
backPath
);
log
.
info
(
this
.
backPath
,
parseLink
,
'---------------------------325'
)
log
.
info
(
this
.
backPath
,
parseLink
,
'---------------------------325'
)
console
.
log
(
this
.
backPath
,
parseLink
,
'---------------------------595'
)
if
(
parseLink
.
includes
(
'/pages/'
)){
if
(
parseLink
.
includes
(
'/pages/'
)){
wx
.
reLaunch
({
wx
.
reLaunch
({
url
:
parseLink
url
:
parseLink
...
...
src/pages/wxArticle/index.vue
View file @
c0b464b9
...
@@ -92,9 +92,14 @@ export default {
...
@@ -92,9 +92,14 @@ export default {
console
.
log
(
link
,
'--------------------------57'
)
console
.
log
(
link
,
'--------------------------57'
)
if
(
getUrlKey
(
decodeURIComponent
(
link
),
"scene"
)
==
"sso"
)
{
if
(
getUrlKey
(
decodeURIComponent
(
link
),
"scene"
)
==
"sso"
)
{
if
(
!
wx
.
getStorageSync
(
"sessionid"
))
{
if
(
!
wx
.
getStorageSync
(
"sessionid"
))
{
wx
.
redirectTo
({
// appraisalTwo:道可二级详情页面,之前进入道可项目所有页面都需登录,现在进入二级可不登录
url
:
`../login/main?scene=sso&isEncode=1&back=
${
link
}
`
,
if
(
!
link
.
includes
(
"appraisalTwo"
))
{
});
wx
.
redirectTo
({
url
:
`../login/main?scene=sso&isEncode=1&back=
${
link
}
`
,
});
}
else
{
this
.
setLink
(
decodeURIComponent
(
link
));
}
}
else
{
}
else
{
this
.
getSsoBcakUrl
(
decodeURIComponent
(
link
));
this
.
getSsoBcakUrl
(
decodeURIComponent
(
link
));
}
}
...
@@ -185,6 +190,11 @@ export default {
...
@@ -185,6 +190,11 @@ export default {
},
},
};
};
},
},
watch
:{
link
()
{
console
.
log
(
this
.
link
,
'-----------------195'
)
}
},
methods
:
{
methods
:
{
setLink
(
data
)
{
setLink
(
data
)
{
this
.
link
=
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