文档更新

master
toesbieya 6 years ago
parent ba81755fd5
commit 836b3481d3
  1. 2
      docs/.vuepress/config.js
  2. 3
      docs/frontend/router.md

@ -6,7 +6,7 @@ module.exports = {
host: 'localhost', host: 'localhost',
// 输出目录 // 输出目录
dest: 'dist', dest: 'doc',
// 主题配置 // 主题配置
themeConfig: { themeConfig: {

@ -15,8 +15,9 @@
### Route.meta Attributes: ### Route.meta Attributes:
| 参数 | 说明 | 类型 | 默认 | | 参数 | 说明 | 类型 | 默认 |
| :----------: | :----------------------------------------------: | :-------: | :---------------------: | | :----------: | :----------------------------------------------: | :--------: | :---------------------: |
| title | 路由在侧边栏、面包屑、页签、搜索结果中的显示名称 | `string` | - | | title | 路由在侧边栏、面包屑、页签、搜索结果中的显示名称 | `string` | - |
| dynamicTitle | 路由在面包屑、页签中的动态名称,参数为(to,from) | `function` | - |
| icon | 图标名,支持svg-icon、el-icon | `string` | - | | icon | 图标名,支持svg-icon、el-icon | `string` | - |
| affix | 是否在多页签中固定显示 | `boolean` | - | | affix | 是否在多页签中固定显示 | `boolean` | - |
| noCache | true时缓存页面 | `boolean` | - | | noCache | true时缓存页面 | `boolean` | - |

Loading…
Cancel
Save