This commit is contained in:
qingwei.li 2018-02-23 11:56:12 +08:00
commit e5c64a3d8f
4 changed files with 4 additions and 4 deletions

View file

@ -121,7 +121,7 @@ export function fetchMixin (proto) {
export function initFetch (vm) {
const { loadSidebar } = vm.config
// server-client renderer
// Server-Side Rendering
if (vm.rendered) {
const activeEl = getAndActive(vm.router, '.sidebar-nav', true, true)
if (loadSidebar && activeEl) {