Skip to content

组件总览

frontend/src/components 当前主要包含两类:

目录职责
table/列表页:PageQueryTablepro-table-columns + 搜索 + 表格 + 分页)
app/应用壳:AppConfigDrawer(语言、主题、导航模式等)

依赖关系

  • PageQueryTable:传入 ProTableColumn[]pro-table.types + pro-table.build)生成搜索项与 Naive columns;也可使用 #search-* / #table 插槽。
  • SearchFormsearch-form/):声明式表单项,由 PageQueryTable 或页面单独引用。
  • 逻辑拆分usePageQueryTable(布局/断点/表格与分页)、buildSearchFieldGroups / buildNaiveDataColumns(列配置 → 搜索字段 + 表格列)。

阅读顺序建议:先 PageQueryTable,再 AppConfigDrawer

TaskFlow 内部文档 Released under the MIT License.