print-center-vue2 1.1.3 → 1.2.0

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
@@ -3,8 +3,10 @@
3
3
  ### 快速开始
4
4
 
5
5
  1. 安装
6
+
6
7
  vue3版本 npm install --save print-center
7
8
  vue2版本 npm install --save print-center-vue2
9
+
8
10
  2. 使用
9
11
 
10
12
  ```js
@@ -42,7 +44,8 @@ export default defineConfig({
42
44
  ```
43
45
 
44
46
  4. 使用案例
45
- src\components\Print\index.vue
47
+
48
+ src\components\Print\index.vue
46
49
 
47
50
  ```vue
48
51
  <!-- 浏览器打印--预览界面(组件化) -->
@@ -108,7 +111,8 @@ export default {
108
111
  ### 预览界面导出图片、pdf功能使用
109
112
 
110
113
  1. main.js中引入导出插件
111
- **vue3+vite**
114
+
115
+ **vue3**
112
116
 
113
117
  ```js
114
118
  // 打印中心导出pdf、图片
@@ -118,7 +122,7 @@ import jspdf from 'print-center/js/jspdf/jspdf.umd.min.js'
118
122
  app.config.globalProperties.jspdf = jspdf
119
123
  ```
120
124
 
121
- **vue2+webpack**
125
+ **vue2**
122
126
 
123
127
  ```js
124
128
  // 打印中心导出pdf、图片
@@ -159,3 +163,8 @@ Vue.prototype.jspdf = jspdf
159
163
 
160
164
  1. 自定义组件bug修复。
161
165
  2. vue2版本兼容处理。
166
+
167
+ ### v1.2.0 (vue3,vue2)
168
+
169
+ 1. 添加数据配置-接口获取功能。
170
+ 2. 配置界面功能改版。
package/favicon.ico ADDED
Binary file