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

修改vue的keep-alive实现仿easyui-页面tab切换 | faceplus's home #4

Open
slipkinem opened this issue Jan 11, 2019 · 0 comments

Comments

@slipkinem
Copy link
Owner

http://faceplus.top/2017/10/27/vue-tab-look-like-easyui/

后台管理页面通常会有tabs切换作为导航常见实现方式 通过显示和隐藏div(缺点:无法看到路由) 通过iframe,其实和显示隐藏区别不大vue实现方式因为要在vue中实现,用vue-router和vue中一个keep-alive,但是keep-alive有个缺点,他是用对象来缓存组件,并且是一个抽象组件,所以就稍微修改下。 效果图

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

No branches or pull requests

1 participant