1.0.7 • Published 8 months ago

crud-table-lyw v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

表格的增删改查

基于ant组件库配合BaseForm组件使用

使用

main.ts
// main.ts
// 导入
import { useCrudTable } from 'crud-table-lyw'
  const emitsMt = (type: string, data: any) => {
    // 所有操作的后续可操作的,例如新增/编辑/删除等等之后或之前操作数据
  }

  const { open, flag, close, title, baseForm, onSubmit, del, enable } = useCrud({
    getList,
    addApi: departmentInfo.addApi,
    editApi: departmentInfo.editApi,
    getInfoApi: departmentInfo.detailApi,
    deleteApi: departmentInfo.deleteApi,
    enableApi: departmentInfo.enableApi,
    emits: emitsMt
  })
1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.2

8 months ago