Skip to content

Commit

Permalink
fix: 修复tabs未倒入Taro的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Dec 8, 2021
1 parent aa8966f commit d71c11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vantui/src/tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export function Tabs(props: TabsProps) {
// 解决异步加载的时候默认的下划线不出现的问题
useEffect(
function () {
Taro.nextTick(() => {
nextTick(() => {
resize()
})
},
Expand Down

0 comments on commit d71c11e

Please sign in to comment.