fix
This commit is contained in:
parent
53768ba0d7
commit
fe92fa4ab0
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -93,7 +93,8 @@ export const devItem = (
|
||||||
vbuilt = vbuilt.substring(0, vbuilt.length - ";\n".length);
|
vbuilt = vbuilt.substring(0, vbuilt.length - ";\n".length);
|
||||||
}
|
}
|
||||||
if (vbuilt && vbuilt === v.value.trim()) {
|
if (vbuilt && vbuilt === v.value.trim()) {
|
||||||
result[k] = { mode: "string", value: JSON.parse(v.value) };
|
const fn = new Function(`return ${v.value}`);
|
||||||
|
result[k] = { mode: "string", value: fn() };
|
||||||
} else {
|
} else {
|
||||||
result[k] = {
|
result[k] = {
|
||||||
mode: "raw",
|
mode: "raw",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue