uni_modules/cool-ui/components/cl-popup/cl-popup.vue
@@ -46,10 +46,8 @@ <script lang="ts"> import { computed, defineComponent, ref, watch, type PropType } from "vue"; import { parseRpx } from "/@/cool/utils"; import { getSystemInfo, parseRpx } from "/@/cool/utils"; import { router } from "/@/cool"; const { statusBarHeight = 0 } = uni.getSystemInfoSync(); let id = 1; @@ -115,6 +113,7 @@ emits: ["update:modelValue", "open", "opened", "close", "closed"], setup(props, { emit }) { const { statusBarHeight = 0 } = getSystemInfo(); // 是否可见 const visible = ref(false);