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
1aebc7ab
Commit
1aebc7ab
authored
Jan 30, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车刷新
parent
550108f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/components/tabbarPage.vue
+7
-3
No files found.
src/components/tabbarPage.vue
View file @
1aebc7ab
...
...
@@ -2,8 +2,8 @@
tabbar
-->
<
template
>
<div
v-if=
"showPage"
>
<web-view
:src=
"pageUrl"
@
error=
"handleError"
@
message=
"getMessage"
></web-view>
<div>
<web-view
:src=
"pageUrl
1
"
@
error=
"handleError"
@
message=
"getMessage"
></web-view>
<div
style=
"width: 100%;height: 90vh;display: flex;justify-content: center;align-items: center;"
>
<van-loading
size=
"40px"
type=
"spinner"
></van-loading>
...
...
@@ -37,6 +37,7 @@ export default {
timestamp
:
""
,
isMiniPage
:
false
,
showPage
:
true
,
pageUrl1
:
""
,
};
},
computed
:
{
...
...
@@ -51,7 +52,7 @@ export default {
)}
`
+
this
.
ss
+
this
.
timestamp
);
}
,
}
},
onLoad
(
options
)
{
console
.
log
(
'--onLoad'
)
...
...
@@ -101,6 +102,7 @@ export default {
});
}
}
this
.
pageUrl1
=
this
.
pageUrl
;
},
onShow
(){
console
.
log
(
'--onShow--'
)
...
...
@@ -119,7 +121,9 @@ export default {
setTimeout
(()
=>
{
this
.
showPage
=
true
;
},
0
);
this
.
pageUrl1
=
this
.
pageUrl
+
`&tim=
${
new
Date
().
getTime
()}
`
wx
.
removeStorageSync
(
"reloadTabbarPage"
);
console
.
log
(
this
.
pageUrl1
,
'--this.pageUrl1'
)
}
},
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