fix
This commit is contained in:
parent
273aa3b1f0
commit
7a7b51fa66
File diff suppressed because one or more lines are too long
|
|
@ -145,7 +145,7 @@ export const Root = () => {
|
||||||
base.page.url = page.url;
|
base.page.url = page.url;
|
||||||
const cache = base.page.cache[page.id];
|
const cache = base.page.cache[page.id];
|
||||||
|
|
||||||
if (!cache) {
|
if (!cache || router.ctx.rootNode.children.size === 0) {
|
||||||
loadPage(page.id)
|
loadPage(page.id)
|
||||||
.then(async ({ root }) => {
|
.then(async ({ root }) => {
|
||||||
if (page) {
|
if (page) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue