mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 20:27:49 +08:00
fix: association select data scope linkage should be supported in sub-form (#5146)
* fix: association select data scope linkage support sub-form * fix: bug
This commit is contained in:
parent
e45d450157
commit
e883985c4d
@ -41,7 +41,7 @@ export const filterAnalyses = (filters): any[] => {
|
||||
if (!operator) {
|
||||
return true;
|
||||
}
|
||||
const regex = /\{\{\$(?:[a-zA-Z_]\w*)\.([a-zA-Z_]\w*)(?:\.id)?\}\}/;
|
||||
const regex = /\{\{\$[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\.(\w+)\.id\}\}/;
|
||||
const fieldName = jsonlogic?.value?.match?.(regex)?.[1];
|
||||
if (fieldName) {
|
||||
results.push(fieldName);
|
||||
|
Loading…
Reference in New Issue
Block a user