Skip to content

Commit

Permalink
fix: 修复valueBuilder失效的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Jan 10, 2022
1 parent 252599c commit d413278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fast-crud/src/use/use-expose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function useExpose(props: UseExposeProps): { expose: CrudExpose; crudExpo
return formRef?.getComponentRef(key, isAsync);
},
doValueBuilder(records, columns) {
if (columns) {
if (columns == null) {
columns = toRaw(crudBinding.value.columns);
}
logger.debug("doValueBuilder ,columns=", columns);
Expand Down

0 comments on commit d413278

Please sign in to comment.