新增html2canvas页面包截图生成海报用

This commit is contained in:
陈曦 2020-11-17 10:32:20 +08:00
parent 0b1d9c1834
commit 54de5cad37
2 changed files with 24 additions and 0 deletions

View File

@ -3611,6 +3611,21 @@
"randomfill": "^1.0.3" "randomfill": "^1.0.3"
} }
}, },
"css-line-break": {
"version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/css-line-break/download/css-line-break-1.1.1.tgz",
"integrity": "sha1-1em90peEAJnrBQPHMQ/TSSegJu8=",
"requires": {
"base64-arraybuffer": "^0.2.0"
},
"dependencies": {
"base64-arraybuffer": {
"version": "0.2.0",
"resolved": "https://registry.npm.taobao.org/base64-arraybuffer/download/base64-arraybuffer-0.2.0.tgz",
"integrity": "sha1-S5RPrAGRqlkHr+LYyZnMxXzoD0U="
}
}
},
"css-parse": { "css-parse": {
"version": "1.7.0", "version": "1.7.0",
"resolved": "https://registry.npm.taobao.org/css-parse/download/css-parse-1.7.0.tgz", "resolved": "https://registry.npm.taobao.org/css-parse/download/css-parse-1.7.0.tgz",
@ -5222,6 +5237,14 @@
"integrity": "sha1-39YAJ9o2o238viNiYsAKWCJoFFM=", "integrity": "sha1-39YAJ9o2o238viNiYsAKWCJoFFM=",
"dev": true "dev": true
}, },
"html2canvas": {
"version": "1.0.0-rc.7",
"resolved": "https://registry.npm.taobao.org/html2canvas/download/html2canvas-1.0.0-rc.7.tgz",
"integrity": "sha1-cMFZzg5jlUqRFpUxiU0IrVYnrJg=",
"requires": {
"css-line-break": "1.1.1"
}
},
"http-cache-semantics": { "http-cache-semantics": {
"version": "3.8.1", "version": "3.8.1",
"resolved": "https://registry.npm.taobao.org/http-cache-semantics/download/http-cache-semantics-3.8.1.tgz", "resolved": "https://registry.npm.taobao.org/http-cache-semantics/download/http-cache-semantics-3.8.1.tgz",

View File

@ -19,6 +19,7 @@
"@angular/platform-browser": "~8.2.14", "@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14", "@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14", "@angular/router": "~8.2.14",
"html2canvas": "^1.0.0-rc.7",
"rxjs": "~6.4.0", "rxjs": "~6.4.0",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"zone.js": "~0.9.1" "zone.js": "~0.9.1"