ubPicker中忘了处理entityFilter(未编译)

This commit is contained in:
Xu Chang 2023-11-10 10:34:23 +08:00
parent adf55a7ce8
commit f79f186bfe
1 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,15 @@ export default OakComponent({
return proj;
},
filters: [
{
filter() {
const { entityFilter } = this.props;
assert(entityFilter);
return entityFilter;
},
}
],
properties: {
disabled: false as boolean | undefined,
entity: '' as keyof EntityDict,