Replies: 2 comments 6 replies
-
子组件里面直接写 useDidShow 也是可以触发的吧 |
Beta Was this translation helpful? Give feedback.
5 replies
-
import { useDidShow } from '@tarojs/taro'
export default function () {
useDidShow(() => {
console.log('didShow')
})
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
高阶组件中不能执行onShow , 这个怎么解决?
Beta Was this translation helpful? Give feedback.
All reactions