Skip to content

Commit c8870c5

Browse files
author
roymondchen
committed
fix(dep): 数据源源方法依赖收集,数据源类内定义的方法需要被收集
1 parent 58a34b0 commit c8870c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dep/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export const createDataSourceMethodTarget = (ds: DataSourceSchema, initialDeps:
189189
// 使用data-source-method-select 可以配置出来
190190
if (!Array.isArray(value) || value[0] !== ds.id) return false;
191191

192-
return Boolean(ds?.methods?.find((method) => method.name === value[1]));
192+
return true;
193193
},
194194
});
195195

0 commit comments

Comments
 (0)