提交 3e9c68cb 编写于 作者: fxy060608's avatar fxy060608

fix(h5): fullPath

上级 be9a6acd
......@@ -13,7 +13,7 @@ export default function createPage (pageVm, options) {
const id = hasOwn($route.params, '__id__') ? $route.params.__id__ : $route.meta.id
let fullPath = $route.fullPath
if ($route.meta.isEntry) {
if ($route.meta.isEntry && fullPath.indexOf($route.meta.pagePath) === -1) {
fullPath = '/' + $route.meta.pagePath + fullPath.replace('/', '')
}
pageVm.__page__ = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册