更换贺报下载的方法24

This commit is contained in:
xuxingjun
2024-12-30 15:35:15 +08:00
parent f1f9fad596
commit a3a1b50e1a
2 changed files with 4 additions and 5 deletions

View File

@@ -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)
// }, 3000)
setTimeout(function() {
document.documentElement.removeChild(WVJBIframe)
}, 4000)

View File

@@ -110,9 +110,8 @@ export default {
})
}, 'image/png')
})
setTimeout(() => {
document.documentElement.removeChild(this.$refs.xingdownLoad)
this.close()
}, 3000);
},
// 生成图片并下载