Skip to content

Conversation

picodoth
Copy link
Contributor

@picodoth picodoth commented Aug 5, 2018


const isDev = process.env.NODE_ENV !== 'production';
let isDev = process.env.NODE_ENV !== 'production';
isDev = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个改动是什么意思

@coveralls
Copy link

coveralls commented Aug 5, 2018

Coverage Status

Coverage increased (+0.09%) to 73.432% when pulling a43ab51 on issue-130 into 8c6f758 on master.

@picodoth
Copy link
Contributor Author

picodoth commented Aug 5, 2018

test 挂了,在修

@picodoth picodoth force-pushed the issue-130 branch 3 times, most recently from 2c73c9b to e94082c Compare August 5, 2018 15:53
@picodoth
Copy link
Contributor Author

picodoth commented Aug 5, 2018

ready 了

componentDidMount() {
// child inktabbar depends on parent ref
// so in mounting phase, we render parent first and then children
this.didMount = true;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didMount -> isMount?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成 hasMounted 了

class="rc-tabs-nav"
className="rc-tabs-nav"
>
<undefined />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

发现个问题,这个地方还没排查出为什么

class="rc-tabs-nav"
className="rc-tabs-nav"
>
<undefined />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

发现个问题,还没查处为什么 :(

@picodoth
Copy link
Contributor Author

picodoth commented Aug 5, 2018

这里是不是还是 setTimeout 的方法好一些,ScrollableTabBarNode 和 SwipeableTabBarNode 也有类似的情况,我们要不然每一层都得做,要不然得动态判断下一层孩子有没有 InkTabBarNode

@picodoth picodoth merged commit 22eaf02 into master Aug 6, 2018
@picodoth
Copy link
Contributor Author

picodoth commented Aug 6, 2018

#135

@afc163
Copy link
Member

afc163 commented Aug 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants