component_ryl 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/build.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,14 @@
|
|
|
37
37
|
# </handHeader>
|
|
38
38
|
|
|
39
39
|
# // 导航列表 -- name 表示 系统名称,list 表示 菜单列表
|
|
40
|
+
# 注:如果菜单需要添加红点提示,则需要添加tips对象,tips对象与path、meta等同级,如:
|
|
41
|
+
# {
|
|
42
|
+
# path: "/",
|
|
43
|
+
# meta: { title: "菜单1", icon: "el-icon-user" },
|
|
44
|
+
# tips: {name: 'hot'} // 表示 小红点 提示
|
|
45
|
+
# tips: {name: 'new'} // 表示 new字样 提示
|
|
46
|
+
# tips: {name: 'num',value:72} // 表示 数字 提示
|
|
47
|
+
# }
|
|
40
48
|
# menuList: {
|
|
41
49
|
# type: Object,
|
|
42
50
|
# default: () => {
|
|
@@ -177,6 +185,7 @@
|
|
|
177
185
|
#1.0.10: 同上,默认图片异常问题
|
|
178
186
|
#1.0.11: 修改默认主题色
|
|
179
187
|
#1.0.12: 修改细节样式
|
|
188
|
+
#1.0.13: 菜单栏,添加红点提示
|
|
180
189
|
```
|
|
181
190
|
|
|
182
191
|
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
|