Skip to content

Commit

Permalink
fix: 修复search.value第一次查询无效的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Jul 3, 2023
1 parent 0c05b5e commit d9a907a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/fast-admin/fs-admin-element
Submodule fs-admin-element updated 1 files
+2 −1 package.json
2 changes: 1 addition & 1 deletion packages/fast-admin/fs-admin-naive-ui
3 changes: 2 additions & 1 deletion packages/fast-crud/src/components/search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default defineComponent({
function onFormValidated() {
validateForm.value = _.cloneDeep(form);
}
onFormValidated();
const { doComputed, AsyncComputeValue } = useCompute();
_.each(props.columns, (item) => {
Expand Down Expand Up @@ -505,6 +505,7 @@ export default defineComponent({
return props.options.rules;
});

onFormValidated();
return {
get,
ui,
Expand Down

0 comments on commit d9a907a

Please sign in to comment.