'更新readme'
parent
23a33b27d6
commit
05c3625ed3
20
README.md
20
README.md
|
@ -5,7 +5,9 @@
|
||||||
|
|
||||||
[更新日志](https://github.com/lin-xin/vue-manage-system/releases)
|
[更新日志](https://github.com/lin-xin/vue-manage-system/releases)
|
||||||
|
|
||||||
## 捐赠
|
## 赞赏
|
||||||
|
请作者喝杯咖啡吧!
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 前言 ##
|
## 前言 ##
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
- [x] 列表拖拽排序
|
- [x] 列表拖拽排序
|
||||||
- [x] 权限测试
|
- [x] 权限测试
|
||||||
- [x] 404 / 403
|
- [x] 404 / 403
|
||||||
|
- [x] 三级菜单
|
||||||
|
|
||||||
|
|
||||||
## 目录结构介绍 ##
|
## 目录结构介绍 ##
|
||||||
|
@ -87,13 +90,12 @@
|
||||||
vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://github.com/linxin/vue-schart)
|
vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://github.com/linxin/vue-schart)
|
||||||
<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>
|
<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>
|
||||||
|
|
||||||
```JavaScript
|
```html
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<schart :canvasId="canvasId"
|
<schart class="wrapper"
|
||||||
|
:canvasId="canvasId"
|
||||||
:type="type"
|
:type="type"
|
||||||
:width="width"
|
|
||||||
:height="height"
|
|
||||||
:data="data"
|
:data="data"
|
||||||
:options="options"
|
:options="options"
|
||||||
></schart>
|
></schart>
|
||||||
|
@ -107,8 +109,6 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
|
||||||
return {
|
return {
|
||||||
canvasId: 'myCanvas', // canvas的id
|
canvasId: 'myCanvas', // canvas的id
|
||||||
type: 'bar', // 图表类型
|
type: 'bar', // 图表类型
|
||||||
width: 500,
|
|
||||||
height: 400,
|
|
||||||
data: [
|
data: [
|
||||||
{name: '2014', value: 1342},
|
{name: '2014', value: 1342},
|
||||||
{name: '2015', value: 2123},
|
{name: '2015', value: 2123},
|
||||||
|
@ -125,6 +125,12 @@ vue.js封装sChart.js的图表组件。访问地址:[vue-schart](https://githu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.wrapper{
|
||||||
|
width: 7rem;
|
||||||
|
height: 5rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
```
|
```
|
||||||
|
|
||||||
### element-ui ###
|
### element-ui ###
|
||||||
|
|
Loading…
Reference in New Issue