mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
tokenize 对 undefined 属性处理成空字符
This commit is contained in:
parent
2bce8b5f1f
commit
d3f038b831
@ -612,7 +612,7 @@ export const tokenize = (
|
||||
|
||||
return escape
|
||||
? _.substring(1)
|
||||
: resolveVariableAndFilter(_, data, defaultFilter);
|
||||
: resolveVariableAndFilter(_, data, defaultFilter) ?? '';
|
||||
}
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user