mo 2 年之前
父節點
當前提交
4a3a703a85
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/o-sticky/index.tsx

+ 1 - 0
src/components/o-sticky/index.tsx

@@ -31,6 +31,7 @@ export default defineComponent({
     }
     const { height } = useRect((this as any).$refs.div)
     this.sectionStyle.height = `${height}px`
+    console.log('useRect', height)
   },
   render() {
     return (