fix prop option
This commit is contained in:
parent
7c68f24da4
commit
9a7308b3fb
|
|
@ -106,6 +106,13 @@ try {
|
||||||
res(...Object.values(arg), local);
|
res(...Object.values(arg), local);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
console.warn(`
|
||||||
|
try {
|
||||||
|
const resOpt = ${cprop.meta.optionsBuilt || cprop.meta.options};
|
||||||
|
|
||||||
|
if (typeof resOpt === 'function') local.metaFn = resOpt;
|
||||||
|
else local.options = resOpt;
|
||||||
|
} catch(e) { console.error(e); }`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
local.options = local.loaded;
|
local.options = local.loaded;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue