devjin0617 / vue2-admin-lte

:bar_chart: adminLTE to vuejs v2.x converting project
https://devjin0617.github.io/vue2-admin-lte
MIT License
1.07k stars 324 forks source link

Calling layout.fix() and layout.fixSidebar() #49

Open hjf opened 6 years ago

hjf commented 6 years ago

Hello. Sometimes my sidebar isn't refreshed when new data is added. The data is added via a computed property, from Vuex. If I see the HTML source, I see that the <li> items are there. But the sidebar isn't showing them.

I've investigated and it seems I'd have to call layout.fix() and layout.fixSidebar() for this to work. How can I accomplish this from Vue?

hjJunior commented 6 years ago

I'm get similiar problem, but my problem is when I change page content the height size get cutted out