框架整理完毕
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {useEffect} from 'react'
|
||||
import Taro from '@tarojs/taro'
|
||||
// import Taro from '@tarojs/taro'
|
||||
import {useDidShow, useDidHide} from '@tarojs/taro'
|
||||
|
||||
// 全局样式
|
||||
@@ -12,7 +12,7 @@ function App(props) {
|
||||
|
||||
// 对应 onShow
|
||||
useDidShow(() => {
|
||||
Taro.hideTabBar()
|
||||
// Taro.hideTabBar()
|
||||
})
|
||||
|
||||
// 对应 onHide
|
||||
|
||||
Reference in New Issue
Block a user