skyblued 3 роки тому
батько
коміт
7c09450099

+ 1 - 0
src/views/shop-mall/components/TheHomeHeader/index.tsx

@@ -15,6 +15,7 @@ export default defineComponent({
   emits: ['cart', 'more', 'search'],
   setup(props, { emit }) {
     const navBarHeight = ref(sessionStorage.getItem('navHeight'))
+    console.log(navBarHeight.value)
     const init = () => {
       // 设置是否显示导航栏 0 显示 1 不显示
       postMessage({ api: 'setBarStatus', content: { status: 0 } })