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

请问是否支持异步加载数据,若支持,异步加载数据时,ly-tab-active-bar 的宽度为 0 #20

Closed
huxianguan opened this issue Oct 8, 2018 · 1 comment

Comments

@huxianguan
Copy link

huxianguan commented Oct 8, 2018

利用ajax 异步加载数据,selectedId 默认为零,文字下面ly-tab-active-bar宽度为0
如图:
image
初始化的时候

@ScoutYin
Copy link
Owner

如果需要异步获取tab数据的话,建议先使用v-if控制组件的初始化,等待数据获取成功再初始化组件

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