mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 03:08:31 +08:00
fix: cannot open the template when the data template filter is a custom function (#2183)
This commit is contained in:
parent
046a0b4f4d
commit
3281aa5cf1
@ -126,6 +126,9 @@ const InternalRemoteSelect = connect(
|
||||
if (!rules) {
|
||||
return undefined;
|
||||
}
|
||||
if (typeof rules === 'string') {
|
||||
return rules;
|
||||
}
|
||||
const type = Object.keys(rules)[0] || '$and';
|
||||
const conditions = rules[type];
|
||||
const results = [];
|
||||
|
Loading…
Reference in New Issue
Block a user