From 1314d113ccfef23d353c200597b5f7667cbb39d2 Mon Sep 17 00:00:00 2001 From: zuiidea Date: Wed, 5 Jul 2017 19:53:39 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E8=8F=9C=E5=8D=95=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 菜单配置文件.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/菜单配置文件.md b/菜单配置文件.md index e4b3983..8438d4f 100644 --- a/菜单配置文件.md +++ b/菜单配置文件.md @@ -6,7 +6,7 @@ module.exports = [ id: '1', icon: 'laptop', name: 'Dashboard', - router: '/dashboard', + route: '/dashboard', }, { id: '1', @@ -19,7 +19,7 @@ module.exports = [ bpid: '6', mpid: '6', name: 'Test Navigation1', - router: '/navigation/navigation1', + route: '/navigation/navigation1', }, ] @@ -32,5 +32,5 @@ module.exports = [ - bpid: string, 面包屑导航的父id - mpid: string, 菜单的父id,缺省时为一级菜单,为-1时在菜单中不显示 - name: 显示名称 -- router: 匹配路由,缺省时不做跳转 +- route: 匹配路由,缺省时不做跳转 - icon: 在名称前显示的图标