prasi override render
This commit is contained in:
parent
9a4354d80f
commit
79ca6d793c
|
|
@ -99,8 +99,12 @@ export const defineWindow = async (awaitServerUrl = true) => {
|
||||||
}
|
}
|
||||||
if (w.prasiContext && w.prasiContext.render) {
|
if (w.prasiContext && w.prasiContext.render) {
|
||||||
w.pathname = location.pathname;
|
w.pathname = location.pathname;
|
||||||
|
if (w.prasiContext.overrideRender) {
|
||||||
|
w.prasiContext.overrideRender(w.prasiContext.render);
|
||||||
|
} else {
|
||||||
w.prasiContext.render();
|
w.prasiContext.render();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue