fix eval_prop
This commit is contained in:
parent
b8aac498d9
commit
c1470a73e9
File diff suppressed because one or more lines are too long
|
|
@ -152,9 +152,9 @@ export const viEvalProps = (
|
|||
|
||||
if (typeof val === "function") {
|
||||
script.props[name].fn = val;
|
||||
// val = (...args: any[]) => {
|
||||
// if (script) return script.props?.[name].fn(...args);
|
||||
// };
|
||||
val = (...args: any[]) => {
|
||||
if (script) return script.props?.[name].fn(...args);
|
||||
};
|
||||
}
|
||||
|
||||
arg[name] = val;
|
||||
|
|
|
|||
Loading…
Reference in New Issue