mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 01:46:43 +08:00
修改图片链接地址
This commit is contained in:
@@ -75,6 +75,7 @@ export default {
|
||||
},
|
||||
// 生成图片并下载
|
||||
domToImage(domElement, quality, callback) {
|
||||
console.log(location);
|
||||
html2canvas(domElement, {
|
||||
width: domElement.offsetWidth,
|
||||
height: domElement.offsetHeight,
|
||||
@@ -100,7 +101,7 @@ export default {
|
||||
if (res.result == '0') {
|
||||
EWebBridge.webCallAppInJs('download', {
|
||||
name: '业绩贺报.png',
|
||||
url: location.origin + res.path
|
||||
url: res.path
|
||||
})
|
||||
.then(() => {
|
||||
console.log('下载完成')
|
||||
|
||||
Reference in New Issue
Block a user