Skip to content

Commit

Permalink
fix(h5): fullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Aug 12, 2022
1 parent be9a6ac commit 3e9c68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/service/plugins/page/create-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = {
Expand Down

0 comments on commit 3e9c68c

Please sign in to comment.