Skip to content

Commit 87d6446

Browse files
authored
Merge pull request #119 from Power-kxLee/feature-bug20210826
Feature bug20210826
2 parents cfb1365 + e755a00 commit 87d6446

16 files changed

+586
-154
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
node_modules
3-
/dist
43

54
# local env files
65
.env.local

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ export default {
201201
url: 'http://localhost:8080/'
202202
preview: true,
203203
previewTitle: 'Test Title', // The title of the preview window. The default is 打印预览
204-
previewBeforeOpenCallback () {
204+
previewBeforeOpenCallback (vue) {
205205
console.log('正在加载预览窗口')
206206
},
207-
previewOpenCallback () {
207+
previewOpenCallback (vue) {
208208
console.log('已经加载完预览窗口')
209209
},
210210
beforeOpenCallback (vue) {
@@ -252,10 +252,10 @@ export default {
252252
popTitle: 'good print',
253253
extraCss: "https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css, https://cdn.bootcdn.net/ajax/libs/hover.css/2.3.1/css/hover-min.css",
254254
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>',
255-
previewBeforeOpenCallback () {
255+
previewBeforeOpenCallback (vue) {
256256
console.log('正在加载预览窗口')
257257
},
258-
previewOpenCallback () {
258+
previewOpenCallback (vue) {
259259
console.log('已经加载完预览窗口')
260260
},
261261
beforeOpenCallback (vue) {
@@ -297,10 +297,10 @@ export default {
297297
reslove('http://localhost:8080/')
298298
}, 2000)
299299
},
300-
previewBeforeOpenCallback () {
300+
previewBeforeOpenCallback (vue) {
301301
console.log('正在加载预览窗口')
302302
},
303-
previewOpenCallback () {
303+
previewOpenCallback (vue) {
304304
console.log('已经加载完预览窗口')
305305
},
306306
beforeOpenCallback (vue) {
@@ -340,6 +340,7 @@ Finally, use `reslove()` to return your URL
340340
| zIndex | CSS of preview tool: z-index | String,Number | - | 20002 |
341341
| previewBeforeOpenCallback | Callback function before starting preview tool | Function | Returns the instance of `Vue` | - |
342342
| previewOpenCallback | Callback function after fully opening preview tool | Function | Returns the instance of `Vue` | - |
343+
| clickMounted | Click the callback function of the print button | Function | Returns the instance of `Vue` | - |
343344

344345

345346

dist/favicon.ico

4.19 KB
Binary file not shown.
27.5 KB
Binary file not shown.
54.6 KB
Binary file not shown.

dist/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>vue-print-nb</title><link href="/js/app.673ad945.js" rel="preload" as="script"><link href="/js/chunk-vendors.b78e38dd.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but vue-print-nb doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.b78e38dd.js"></script><script src="/js/app.673ad945.js"></script></body></html>

dist/js/app.673ad945.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/app.673ad945.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/chunk-vendors.b78e38dd.js

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/chunk-vendors.b78e38dd.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)