vg-print 1.0.334 → 1.0.336
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 +3 -3
- package/dist/style.css +1 -1
- package/dist/vg-print.es.js +5469 -5490
- package/dist/vg-print.umd.js +52 -52
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
您可以直接安装引入体验功能.
|
|
6
6
|
没有域名限制,无网可用. 提供一对一技术支持.
|
|
7
7
|
npm搜索vg-print.
|
|
8
|
-
联系我加 QQ: 984239686
|
|
8
|
+
授权或购买源码: 联系我加 QQ: 984239686
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -208,7 +208,7 @@ tpl.toImage({ name: '示例' }, { isDownload: true, name: '图片', limit: 1, ty
|
|
|
208
208
|
import { hiprint } from 'vg-print'
|
|
209
209
|
|
|
210
210
|
// 注册授权 key(建议在应用启动时调用)
|
|
211
|
-
hiprint.register({ authKey: '
|
|
211
|
+
hiprint.register({ authKey: '你的key' })
|
|
212
212
|
|
|
213
213
|
// 有授权 key → 运行态默认水印移除(设计态由面板设置项决定)
|
|
214
214
|
const tpl = new hiprint.PrintTemplate({ template: {} })
|
|
@@ -219,7 +219,7 @@ const tpl = new hiprint.PrintTemplate({ template: {} })
|
|
|
219
219
|
```js
|
|
220
220
|
import { hiprint, createTemplate, printBrowser } from 'vg-print'
|
|
221
221
|
|
|
222
|
-
hiprint.register({ authKey: '
|
|
222
|
+
hiprint.register({ authKey: 'YOUR_AUTH_KEY' })
|
|
223
223
|
const tpl = createTemplate(tmplJson) // 不再自动注入默认水印
|
|
224
224
|
printBrowser(tpl, data)
|
|
225
225
|
```
|