Compare commits

..

2 Commits

Author SHA1 Message Date
86f814bc1f Merge branch 'master' of http://172.16.100.91:3000/xuminyi/store-management-app 2024-10-10 10:37:39 +08:00
2cf18cc8b5 fix 2024-10-10 10:37:19 +08:00

View File

@ -25,9 +25,7 @@
</template>
<script setup>
import { computed, useSlots } from "vue";
const slots = useSlots();
console.log(slots);
import { computed, useSlots, onMounted } from "vue";
const isShowLeft = computed(() => {
const pages = getCurrentPages();
return pages.length === 1 ? false : true;
@ -40,7 +38,11 @@ const backhandle = () => {
const root = document.documentElement;
root.style.setProperty(
"--statusBarHeight",
`${plus.navigator.getStatusbarHeight()}px`
`${
plus.storage.getItem("RunTime") === "app"
? plus.navigator.getStatusbarHeight()
: 0
}px`
);
</script>