fix: include literal
This commit is contained in:
parent
4a0305cb39
commit
7ab4b41d0f
|
@ -1,11 +1,12 @@
|
||||||
export function buildValue(value) {
|
export function buildValue(value) {
|
||||||
if (
|
if (
|
||||||
'object' === typeof value
|
'object' === typeof value
|
||||||
&& (
|
&& -1 !== [
|
||||||
'expression' === value.type
|
'condition',
|
||||||
|| 'expressions' === value.type
|
'expression',
|
||||||
|| 'condition' === value.type
|
'expressions',
|
||||||
)
|
'literal',
|
||||||
|
].indexOf(value.type)
|
||||||
) {
|
) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user