tokenize 对 undefined 属性处理成空字符

This commit is contained in:
liaoxuezhi 2020-12-22 20:28:15 +08:00
parent 2bce8b5f1f
commit d3f038b831

View File

@ -612,7 +612,7 @@ export const tokenize = (
return escape
? _.substring(1)
: resolveVariableAndFilter(_, data, defaultFilter);
: resolveVariableAndFilter(_, data, defaultFilter) ?? '';
}
);
};