uni_modules/cool-ui/components/cl-topbar/cl-topbar.vue
@@ -46,9 +46,7 @@ <script lang="ts"> import { computed, defineComponent, onMounted, ref } from "vue"; import { router } from "/@/cool"; import { isIos } from "/@/cool/utils"; const { statusBarHeight } = uni.getSystemInfoSync(); import { getSystemInfo, isIos } from "/@/cool/utils"; export default defineComponent({ name: "cl-topbar", @@ -92,6 +90,7 @@ }, setup(props, { emit }) { const { statusBarHeight = 0 } = getSystemInfo(); // 是否页面栈的第一个 const isFirst = ref(false);