1
0
mirror of synced 2026-03-23 02:58:34 +08:00

fix(editor): 数据源列表中依赖的key会重复出现

This commit is contained in:
roymondchen
2023-11-03 14:58:19 +08:00
parent 801399777b
commit 2d5b7726ef
4 changed files with 33 additions and 19 deletions

View File

@@ -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',
}),
);