wip fix
This commit is contained in:
parent
4cea063783
commit
7fd936c051
|
|
@ -122,11 +122,10 @@ export const ViPreview = (arg: { pathname: string }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (load_urls.length > 0) {
|
if (load_urls.length > 0) {
|
||||||
const res = await p.sync.page.cache(
|
const res = await p.sync.page.cache(p.site.id, load_urls, [
|
||||||
p.site.id,
|
...Object.keys(p.preview.page_cache),
|
||||||
load_urls,
|
p.page.cur.id,
|
||||||
Object.keys(p.preview.page_cache)
|
]);
|
||||||
);
|
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
const pages = JSON.parse(
|
const pages = JSON.parse(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue