diff --git a/src/utils/tpl-builtin.ts b/src/utils/tpl-builtin.ts index d7e9d49fd..74cb8faed 100644 --- a/src/utils/tpl-builtin.ts +++ b/src/utils/tpl-builtin.ts @@ -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'}__`)