From c45d437d3d4449f9e81650cec46e56bca34acf87 Mon Sep 17 00:00:00 2001 From: "zhigang.li@tendcloud.com" Date: Thu, 1 Nov 2018 18:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E8=B7=AF=E7=94=B1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/router/routers.js b/src/router/routers.js index 6467ad87..3f81176b 100644 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -4,7 +4,10 @@ import parentView from '@/components/parent-view' /** * iview-admin中meta除了原生参数外可配置的参数: * meta: { - * title: { String|Number|Function } 显示在侧边栏和 + * title: { String|Number|Function } + * 显示在侧边栏、面包屑和标签栏的文字 + * 使用'{{ 多语言字段 }}'形式结合多语言使用,例子看多语言的路由配置; + * 可以传入一个回调函数,参数是当前路由对象,例子看动态路由和带参路由 * hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项 * notCache: (false) 设为true后页面不会缓存 * access: (null) 可访问该页面的权限数组,当前路由设置的权限会影响子路由