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
89c7e6ea
Commit
89c7e6ea
authored
Jun 29, 2021
by
chengzhichun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户地址问题
parent
9097bc79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
src/components/tabbarPage.vue
+13
-1
No files found.
src/components/tabbarPage.vue
View file @
89c7e6ea
...
...
@@ -15,6 +15,7 @@
import
{
getUrlofLink
,
checkTabbarPage
,
getUrlofQuery
}
from
"../utils/mayi.js"
;
import
{
serialize
}
from
"@/utils/index"
;
...
...
@@ -31,7 +32,8 @@ export default {
page
:
"/"
,
params
:
"?mixid="
+
this
.
$store
.
state
.
mixid
,
ss
:
""
,
timestamp
:
""
timestamp
:
""
,
isMiniPage
:
false
};
},
computed
:
{
...
...
@@ -48,6 +50,7 @@ export default {
},
},
onLoad
(
options
)
{
let
ss
=
wx
.
getStorageSync
(
"sessionid"
);
this
.
ss
=
ss
?
`&sessionid=
${
ss
}
`
:
""
;
...
...
@@ -68,6 +71,15 @@ export default {
let
query
=
serialize
(
options
)
this
.
params
+=
query
?
'&'
+
query
:
''
}
let
reg
=
/^
\/
pages
\/
/
;
console
.
log
(
this
.
pageUrl
,
'pageUrl======================'
,
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
[
this
.
index
].
link
)
if
(
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
[
this
.
index
].
link
)
{
if
(
reg
.
test
(
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
[
this
.
index
].
link
.
link
)){
wx
.
reLaunch
({
url
:
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
[
this
.
index
].
link
.
link
,
});
}
}
},
methods
:
{
handleError
(
data
)
{
...
...
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