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
9097bc79
Commit
9097bc79
authored
Jun 24, 2021
by
chengzhichun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序自定义链接跳转到公众号页
parent
2376f8c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/pages/login/index.vue
+7
-1
No files found.
src/pages/login/index.vue
View file @
9097bc79
...
...
@@ -312,6 +312,7 @@ export default {
// 是否跳转h5或小程序
pushPageType
(){
//绑定上下级关系
console
.
log
(
this
.
scene
,
'this.scene===='
,
this
.
backPath
)
app
.
fenxiaoModel
.
becomeRelation
(
wx
.
getStorageSync
(
"becomeInfo"
)?
JSON
.
parse
(
wx
.
getStorageSync
(
"becomeInfo"
)):
''
).
then
(
res
=>
{
if
(
res
)
{
wx
.
removeStorage
({
...
...
@@ -319,7 +320,12 @@ export default {
});
}
})
if
(
this
.
fromType
==
'mini'
){
if
(
this
.
backPath
.
includes
(
'/pages/'
)){
wx
.
reLaunch
({
url
:
this
.
backPath
});
}
else
if
(
this
.
fromType
==
'mini'
){
wx
.
navigateBack
({
delta
:
1
});
...
...
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