Skip to content

Commit 05c3625

Browse files
committed
'更新readme'
1 parent 23a33b2 commit 05c3625

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
[更新日志](https://github.com/lin-xin/vue-manage-system/releases)
77

8-
## 捐赠
8+
## 赞赏
9+
请作者喝杯咖啡吧!
10+
911
![微信扫一扫](http://blog.gdfengshuo.com/images/weixin.jpg)
1012

1113
## 前言 ##
@@ -28,6 +30,7 @@
2830
- [x] 列表拖拽排序
2931
- [x] 权限测试
3032
- [x] 404 / 403
33+
- [x] 三级菜单
3134

3235

3336
## 目录结构介绍 ##
@@ -87,13 +90,12 @@
8790
vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://github.com/linxin/vue-schart)
8891
<p><a href="https://www.npmjs.com/package/vue-schart"><img src="https://img.shields.io/npm/dm/vue-schart.svg" alt="Downloads"></a></p>
8992

90-
```JavaScript
93+
```html
9194
<template>
9295
<div>
93-
<schart :canvasId="canvasId"
96+
<schart class="wrapper"
97+
:canvasId="canvasId"
9498
:type="type"
95-
:width="width"
96-
:height="height"
9799
:data="data"
98100
:options="options"
99101
></schart>
@@ -107,8 +109,6 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
107109
return {
108110
canvasId: 'myCanvas', // canvas的id
109111
type: 'bar', // 图表类型
110-
width: 500,
111-
height: 400,
112112
data: [
113113
{name: '2014', value: 1342},
114114
{name: '2015', value: 2123},
@@ -125,6 +125,12 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
125125
}
126126
}
127127
</script>
128+
<style>
129+
.wrapper{
130+
width: 7rem;
131+
height: 5rem;
132+
}
133+
</style>
128134
```
129135

130136
### element-ui ###

0 commit comments

Comments
 (0)