Commit 86f62861 by qinjianhui

fix: 问题修改

parent 4adac5de
<template>
<div class="header" :class="{ 'no-shadow': !shadow }" ref="header">
<headerNavMobile
v-if="$isMobile"
:userInfo="userInfo"></headerNavMobile>
<headerNavMobile v-if="$isMobile" :userInfo="userInfo"></headerNavMobile>
<div class="container" v-else>
<div class="logo">
<span class="logo_text">
......@@ -286,8 +284,6 @@ export default {
if (this.userInfo && this.$route.query.shopKey) {
this.$router.push('/contact')
}
},
mounted() {
this.scrollParent().addEventListener('scroll', this.onScroll)
},
beforeDestroy() {
......@@ -314,6 +310,7 @@ export default {
})
},
login() {
console.log(this.$route.query)
if (this.$route.query && this.$route.query.shopKey) {
this.setShopKey(this.$route.query.shopKey)
}
......
......@@ -97,7 +97,7 @@ export default {
}
},
computed: {
...mapState(['shopifyObj']),
// ...mapState(['shopifyObj']),
},
mounted() {
console.log(this.shopifyObj);
......
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