Skip to content

Commit

Permalink
fix: 修复tab change后清空查询表单的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Nov 4, 2024
1 parent 4ffd11b commit 5ee3db4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/views/crud/feature/tabs/crud.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
import * as api from "./api";
import {
AddReq,
CreateCrudOptionsProps,
CreateCrudOptionsRet,
DelReq,
dict,
EditReq,
UserPageQuery,
UserPageRes,
utils
} from "@fast-crud/fast-crud";
import { AddReq, CreateCrudOptionsProps, CreateCrudOptionsRet, DelReq, dict, EditReq, UserPageQuery, UserPageRes, utils } from "@fast-crud/fast-crud";

export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOptionsRet {
const pageRequest = async (query: UserPageQuery): Promise<UserPageRes> => {
Expand Down Expand Up @@ -79,6 +69,9 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
title: "ID",
key: "id",
type: "number",
search: {
show: true
},
column: {
width: 50
},
Expand Down

0 comments on commit 5ee3db4

Please sign in to comment.