mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 05:06:43 +08:00
Merge branch 'FCRS-743-【需求】关于金掌桂开发机构实时出单功能和动态贺报生成的请示' into dev-new
This commit is contained in:
@@ -59,12 +59,12 @@ export default {
|
|||||||
// 将 canvas 转换为 Blob
|
// 将 canvas 转换为 Blob
|
||||||
canvas.toBlob((blob) => {
|
canvas.toBlob((blob) => {
|
||||||
this.blobToBase64(blob).then((base64String) => {
|
this.blobToBase64(blob).then((base64String) => {
|
||||||
console.log(base64String, '==')
|
let base64Manane = base64String.split(',')[1]
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
EWebBridge.webCallAppInJs('bridge', {
|
||||||
flag: 'share',
|
flag: 'share',
|
||||||
extra: {
|
extra: {
|
||||||
shareType: '1',
|
shareType: '1',
|
||||||
img: base64String
|
img: base64Manane
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -96,7 +96,7 @@ export default {
|
|||||||
this.blobToBase64(blob).then((base64String) => {
|
this.blobToBase64(blob).then((base64String) => {
|
||||||
console.log(base64String, '==')
|
console.log(base64String, '==')
|
||||||
EWebBridge.webCallAppInJs('download', {
|
EWebBridge.webCallAppInJs('download', {
|
||||||
name: '开门红方案.png',
|
name: '业绩贺报.png',
|
||||||
url: base64String
|
url: base64String
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user