@liujitcn/kratos-uni-app-core 0.0.65 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "type": "git",
8
8
  "url": "git@github.com:liujitcn/kratos-admin.git"
9
9
  },
10
- "version": "0.0.65",
10
+ "version": "0.0.66",
11
11
  "type": "module",
12
12
  "files": [
13
13
  "dist",
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { computed } from 'vue'
2
+ import { computed, onMounted } from 'vue'
3
3
  import { resolveModuleIcon, resolveStaticView } from '../module'
4
4
  import { APP_MENU_ROOT_ID, useAppMenuBadge, useAppNavigation } from '../navigation'
5
5
  import { resolveRootMenuId } from '../navigation-tree.mjs'
@@ -14,6 +14,12 @@ const activeMenu = computed(() => {
14
14
  })
15
15
  const visible = computed(() => Boolean(activeMenu.value && tabBar.value.length))
16
16
  const messageBadge = useAppMenuBadge('MESSAGE_INBOX')
17
+ // #ifdef H5
18
+ // H5 端 tabBar.custom 不隐藏内置 tabbar,需手动隐藏,否则其边线从自定义栏上方露出形成双线。
19
+ onMounted(() => {
20
+ uni.hideTabBar({ fail: () => {} })
21
+ })
22
+ // #endif
17
23
  </script>
18
24
 
19
25
  <template>