fix
This commit is contained in:
parent
d51366b53e
commit
ee39e5d5db
File diff suppressed because one or more lines are too long
|
|
@ -41,7 +41,11 @@ export const createViLocal = (
|
||||||
const [_, set] = useState({});
|
const [_, set] = useState({});
|
||||||
const local = ref.current;
|
const local = ref.current;
|
||||||
local.render = () => {
|
local.render = () => {
|
||||||
set({});
|
if ((window as any).prasiContext?.render) {
|
||||||
|
(window as any).prasiContext?.render();
|
||||||
|
} else {
|
||||||
|
set({});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
updatePropScope(vi, meta, meta.script?.scope, parent_key);
|
updatePropScope(vi, meta, meta.script?.scope, parent_key);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue