print-center-vue2 1.2.0 → 1.2.2

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 CHANGED
@@ -108,6 +108,30 @@ export default {
108
108
  </script>
109
109
  ```
110
110
 
111
+ ### 图表组件使用
112
+
113
+ 1. 安装(推荐使用版本:^5.6.0)
114
+
115
+ ```js
116
+ npm install --save echarts
117
+ ```
118
+
119
+ 2. main.js中使用
120
+
121
+ **vue3**
122
+
123
+ ```js
124
+ import * as echarts from 'echarts'
125
+ app.config.globalProperties.echarts = echarts
126
+ ```
127
+
128
+ **vue2**
129
+
130
+ ```js
131
+ import * as echarts from 'echarts'
132
+ Vue.prototype.echarts = echarts
133
+ ```
134
+
111
135
  ### 预览界面导出图片、pdf功能使用
112
136
 
113
137
  1. main.js中引入导出插件
@@ -168,3 +192,8 @@ Vue.prototype.jspdf = jspdf
168
192
 
169
193
  1. 添加数据配置-接口获取功能。
170
194
  2. 配置界面功能改版。
195
+
196
+ ### v1.2.1 (vue3)\v1.2.2(vue2)
197
+
198
+ 1. 添加折、柱图形组件。
199
+ 2. 添加饼图、环图组件。