feat: 续上,H5 也需要隐藏
This commit is contained in:
parent
0d948a0691
commit
7cf16d608c
@ -36,7 +36,7 @@ function selectTabBar({ value: index }: { value: number }) {
|
|||||||
}
|
}
|
||||||
onLoad(() => {
|
onLoad(() => {
|
||||||
// 解决原生 tabBar 未隐藏导致有2个 tabBar 的问题
|
// 解决原生 tabBar 未隐藏导致有2个 tabBar 的问题
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS | H5
|
||||||
uni.hideTabBar({
|
uni.hideTabBar({
|
||||||
fail(err) {
|
fail(err) {
|
||||||
console.log('hideTabBar fail: ', err)
|
console.log('hideTabBar fail: ', err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user