mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
dataMapping 不要改变原始值类型
This commit is contained in:
parent
e6a14f0d61
commit
1db764ebbe
@ -340,7 +340,7 @@ export const resolveVariableAndFilter = (
|
||||
let ret = resolveVariable(finalKey, data);
|
||||
|
||||
return ret == null && !~originalKey.indexOf("default")
|
||||
? ""
|
||||
? ret
|
||||
: paths.reduce((input, filter) => {
|
||||
let params = filter
|
||||
.replace(/([^\\])\\([\:\\])/g, (_, affix, content) => `${affix}__${content === ':' ? 'colon' : 'slash'}__`)
|
||||
|
Loading…
Reference in New Issue
Block a user