KvTable
import { Nav } from "ai-search-nav";
<Nav
dimensionCode="123"
onClick={this.handleClick}
apiUrl="/test/navList"
config={{
zjhm: "130130198902022312",
name: "杭州",
}}
queryParams={{
caseId: "12222222",
}}
configUrl="/test/querypz"
tableUrl="/test/queryList"
/>;
props
参数 | 类型 | 说明 | 必填 |
---|---|---|---|
dimensionCode | string | 请求列表 | 是 |
onClick | function | 回调函数 | 否 |
apiUrl | string | 接口 | 是 |
customCol | 自定义表头 | 否 | |
config | {} | 配置入参 | 否 |
queryParams | 固定入参 | 否 | |
configUrl | 获取出入参 | 否 | |
tableUrl | 获取 table 列表 | 否 |