Free
Results
1
issues of
Free
路由设置了history模式,并且设置了基准路径,无法显示骨架屏 如: `router: { mode: 'history', base: '/test/', routes: [{ path: '/list', skeletonId: 'list-skeleton' }, { path: '/', skeletonId: 'index-skeleton' }] }` 看了一下源码是直接拿location.pathname 与path匹配导致匹配不成功,可否增加个base参数, isMatched函数中路径加上base路径后再匹配?