-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tabs增加懒加载功能(lazy-load for tabs) #1374
Labels
Comments
其他组件库的相关链接可以放一下 |
可以自己用 |
v-if每次切换都会重新加载呀 |
例如ant design 的 tabs,默认就是lazyload |
你试试例子里的 |
This was referenced Oct 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This function solves the problem (这个功能解决的问题)
Tabs增加懒加载功能,点击tab时才加载对应的pane。目前提供的display-directive并不能满足需求(使用if时每次切换tab都会重新加载,使用show时则会一次性加载所有pane不利于首次打开时的请求数优化)
Expected API (期望的 API)
display-directive="lazyload"
The text was updated successfully, but these errors were encountered: