Commit 07816b88 authored by 康振飞's avatar 康振飞

ok

parent 41713afb
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment