diff --git a/docs/frontend/components/region-selector.md b/docs/frontend/components/region-selector.md index d00bf7f..8629a3f 100644 --- a/docs/frontend/components/region-selector.md +++ b/docs/frontend/components/region-selector.md @@ -23,8 +23,9 @@ | :-----------------: | :-------------------------------------: | :--------------: | :-----: | | type | 选择器类型,`tab / tree` | `string` | `'tab'` | | value / v-model | 绑定值 | `string / array` | - | -| readonly | 是否只读,等同于`el-select`的`disabled` | `boolean` | - | -| size | 大小,等同于`el-select`的`size` | `string` | - | +| readonly | 等同于`el-select`的`disabled` | `boolean` | - | +| size | 等同于`el-select`的`size` | `string` | - | +| maxLevel | 可选择的最大深度,[1,4] | `number` | 3 | | getChildrenOnSelect | 在确认选择时是否连同子级一起获取 | `boolean` | - | | limit | 是否需要剪枝 | `boolean` | - | | limitApi | 获取剪枝数据的api | `function` | - | diff --git a/docs/frontend/router.md b/docs/frontend/router.md index ace3536..884bd6e 100644 --- a/docs/frontend/router.md +++ b/docs/frontend/router.md @@ -7,7 +7,7 @@ ### Route Attributes: | 参数 | 说明 | 类型 | 默认 | -| ---------- | ---------------------------------------------------- | ------------------- | ----- | +| :--------: | :--------------------------------------------------: | :-----------------: | :---: | | hidden | 是否在侧边栏中显示 | `boolean` | - | | alwaysShow | 是否总是把只有一个子级的菜单以嵌套模式在侧边栏中展示 | `boolean` | - | | sort | 侧边栏的排序值,值越小越靠前 | `number` | 10000 | @@ -15,7 +15,7 @@ ### Route.meta Attributes: | 参数 | 说明 | 类型 | 默认 | -| ------------ | ------------------------------------------------ | --------- | ----------------------- | +| :----------: | :----------------------------------------------: | :-------: | :---------------------: | | title | 路由在侧边栏、面包屑、页签、搜索结果中的显示名称 | `string` | - | | icon | 图标名,支持svg-icon、el-icon | `string` | - | | affix | 是否在多页签中固定显示 | `boolean` | - |