mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 10:26:44 +08:00
更换贺报下载的方法23
This commit is contained in:
@@ -193,7 +193,7 @@ function appCallBack() {}
|
||||
document.documentElement.appendChild(WVJBIframe)
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeChild(WVJBIframe)
|
||||
}, 0)
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,6 +248,6 @@ function appCallBack() {}
|
||||
//notation: js file can only use this kind of comments
|
||||
//since comments will cause error when use in webview.loadurl,
|
||||
//comments will be remove by java use regexp
|
||||
setTimeout(function() {
|
||||
document.documentElement.removeChild(WVJBIframe)
|
||||
}, 100)
|
||||
// setTimeout(function() {
|
||||
// document.documentElement.removeChild(WVJBIframe)
|
||||
// }, 3000)
|
||||
|
||||
@@ -111,10 +111,9 @@ export default {
|
||||
}, 'image/png')
|
||||
})
|
||||
|
||||
EWebBridge.webCallAppInJs('bridge', {
|
||||
flag: '',
|
||||
extra: {}
|
||||
})
|
||||
setTimeout(() => {
|
||||
document.documentElement.removeChild(this.$refs.xingdownLoad)
|
||||
}, 3000);
|
||||
},
|
||||
// 生成图片并下载
|
||||
domToImage() {
|
||||
@@ -204,9 +203,14 @@ export default {
|
||||
name: '',
|
||||
url: ''
|
||||
});
|
||||
// setTimeout(() => {
|
||||
// document.documentElement.removeChild(WVJBIframe)
|
||||
// }, 2500);
|
||||
|
||||
setTimeout(() => {
|
||||
this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
||||
}, 2500);
|
||||
this.close()
|
||||
}, 3000);
|
||||
|
||||
return false
|
||||
}, 500);
|
||||
},
|
||||
@@ -230,7 +234,7 @@ export default {
|
||||
})
|
||||
},
|
||||
close() {
|
||||
this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
||||
// this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
||||
setTimeout(() => {
|
||||
this.$emit('child-colse', '1')
|
||||
}, 200);
|
||||
|
||||
Reference in New Issue
Block a user