wip fix
This commit is contained in:
parent
e10e0d8297
commit
0ae3e6b1a5
File diff suppressed because one or more lines are too long
|
|
@ -59,6 +59,7 @@ export const viEvalScript = (
|
|||
...viScriptArg(vi),
|
||||
...exports,
|
||||
...passprop,
|
||||
_meta: vi.meta,
|
||||
};
|
||||
|
||||
if (typeof passprop === "object") {
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ export const createViPassProp = (
|
|||
is_meta = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (is_meta) {
|
||||
return children.map((item) => {
|
||||
let cmeta = vi.meta[item.id];
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export const baseTypings = `
|
|||
const useEffect: typeof React.useEffect;
|
||||
const useState: typeof React.useState;
|
||||
|
||||
const _meta: Record<string, IContent>;
|
||||
const pathname: string;
|
||||
const isEditor: boolean;
|
||||
const isLayout: boolean;
|
||||
|
|
|
|||
Loading…
Reference in New Issue