wangrong
2 天以前 db685b04e52efd75213ef7540fdc0bed7dccfd9e
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);