From 34036d778ac2eb08e4cc75e14c5e6813956313c5 Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 15 Mar 2017 18:04:02 +0800 Subject: [PATCH] * fix UI error of menu and add .tree-menu style to tree view. --- docs/part/component-menu.md | 68 +++++++++++++++++---------- docs/part/view-tree.md | 88 ++++++++++++++++++++++++++++++++++- src/js/menu.js | 11 +++-- src/less/views/tree.less | 91 +++++++++++++++++++++++++++++++++++++ 4 files changed, 227 insertions(+), 31 deletions(-) diff --git a/docs/part/component-menu.md b/docs/part/component-menu.md index 987c797e7..6cb87d8e1 100644 --- a/docs/part/component-menu.md +++ b/docs/part/component-menu.md @@ -7,19 +7,24 @@ filter: chuizhicaidan czcd # 垂直菜单 +
+

重要提示

+

现已不推荐在树形菜单中使用导航 `.nav`(此用法将在 1.7 中移除)。现在可以使用树形菜单 `.tree.tree-menu` 来代替。具体用法参见:[视图 → 树形菜单 → 树形导航菜单](#view/tree/1)

+
+ 垂直菜单可以方便的为您的应用创建可折叠的菜单。 ## 实例
-
```html -