Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动态创建TabPane的时候会报错 #276

Closed
guccihuiyuan opened this issue Feb 15, 2019 · 3 comments
Closed

动态创建TabPane的时候会报错 #276

guccihuiyuan opened this issue Feb 15, 2019 · 3 comments
Assignees

Comments

@guccihuiyuan
Copy link

Version

0.11.4

Environment

0.11.4

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-mobile-start?file=src%2Fapp%2Fapp.component.html

Steps to reproduce

<TabPane *ngFor="let tabPane of tabPanes;let i = index" style="background-color: white; text-align: center; height: 100%" [title]="tabBarContainer">

What is expected?

不会报错

What is actually happening?

ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '@translateTabPane: undefined'. Current value: '@translateTabPane: center-without-animation'.

Other?

@fisherspy
Copy link
Collaborator

目前不支持动态创建TabPane,后续支持。

@fisherspy fisherspy self-assigned this Feb 27, 2019
@fisherspy
Copy link
Collaborator

下个版本就支持了,目前正在测试阶段。

@fisherspy
Copy link
Collaborator

#399 已解决 @guccihuiyuan

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

No branches or pull requests

2 participants