wangrong
1 天以前 db685b04e52efd75213ef7540fdc0bed7dccfd9e
uni_modules/cool-ui/components/cl-sticky/cl-sticky.vue
@@ -11,8 +11,7 @@
<script lang="ts">
import { computed, defineComponent } from "vue";
import { useCool } from "/@/cool";
const { statusBarHeight } = uni.getSystemInfoSync();
import { getSystemInfo } from "/@/cool/utils";
export default defineComponent({
   name: "cl-sticky",
@@ -35,6 +34,7 @@
   },
   setup(props) {
      const { statusBarHeight = 0 } = getSystemInfo();
      const { router } = useCool();
      // 吸顶高度