Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
07816b88
Commit
07816b88
authored
Apr 09, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
41713afb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
product.vue
layouts/basic-layout/product.vue
+3
-12
No files found.
layouts/basic-layout/product.vue
View file @
07816b88
...
...
@@ -248,8 +248,7 @@ export default {
},
0
);
},
$route
(
to
,
from
)
{
if
(
to
.
name
===
from
.
name
)
{
// 相同路由,不同参数,跳转时,重载页面
if
(
to
.
name
===
from
.
name
)
{
// 相同路由,不同参数,跳转时,重载页面
if
(
Setting
.
sameRouteForceUpdate
)
{
this
.
handleReload
();
}
...
...
@@ -268,10 +267,7 @@ export default {
},
handleScroll
()
{
if
(
!
this
.
headerHide
)
return
;
const
scrollTop
=
document
.
body
.
scrollTop
+
document
.
documentElement
.
scrollTop
;
const
scrollTop
=
document
.
body
.
scrollTop
+
document
.
documentElement
.
scrollTop
;
if
(
!
this
.
ticking
)
{
this
.
ticking
=
true
;
requestAnimation
(()
=>
{
...
...
@@ -298,8 +294,7 @@ export default {
// todo $menuHead.handleGetMenuHeight();
}
},
handleReload
()
{
// 针对缓存的页面也生效
handleReload
()
{
// 针对缓存的页面也生效
const
isCurrentPageCache
=
this
.
keepAlive
.
indexOf
(
this
.
$route
.
name
)
>
-
1
;
const
pageName
=
this
.
$route
.
name
;
if
(
isCurrentPageCache
)
{
...
...
@@ -357,9 +352,6 @@ export default {
}
.white{
color: #ffffff!important;
// a{
// color: #ffffff!important;
// }
}
.product-layout {
.i-layout-content {
...
...
@@ -420,7 +412,6 @@ export default {
}
}
tr {
// line-height: 35px;
td {
padding: 9px 10px 0px;
.table_row_ul {
...
...
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