@@ -104,7 +104,7 @@
return this.$store.state.componentDetail.detail.data
},
showHeader () {
- return this.$route.path !== '/'
+ return this.$route.path !== '/' || !this.$route.path || this.$route.path === ''
showSearch () {
return this.$route.path !== '/' && !this.$route.path.startsWith('/mobile/search')
@@ -86,7 +86,6 @@
methods: {
onScroll () {
- console.log(112)
if (this.$route.path.startsWith('/mobile/brand/brandCenter')) {
let scrolled = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop
this.isScrolled = scrolled > 0