mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
default filter bug
This commit is contained in:
parent
da4aa7d8ea
commit
7656f6b32d
@ -546,7 +546,9 @@ export const resolveVariableAndFilter = (
|
||||
|
||||
let prevConInputChanged = false; // 前一个类三元过滤器生效,则跳过后续类三元过滤器
|
||||
|
||||
return ret == null && !~paths.indexOf('default') && !~paths.indexOf('now')
|
||||
return ret == null &&
|
||||
!~originalKey.indexOf('default') &&
|
||||
!~originalKey.indexOf('now')
|
||||
? ret
|
||||
: paths.reduce((input, filter) => {
|
||||
let params = filter
|
||||
|
Loading…
Reference in New Issue
Block a user