fix(editor): 数据源列表中依赖的key会重复出现
This commit is contained in:
@@ -96,7 +96,7 @@ describe('depService', () => {
|
||||
type: 'target',
|
||||
id: 'collect_2',
|
||||
name: 'test2',
|
||||
isTarget: (key: string | number, value: any) => key === 'text1' && value === 'text',
|
||||
isTarget: (key: string | number, value: any) => `${key}`.includes('text1') && value === 'text',
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user