更换贺报下载的方法15

This commit is contained in:
xuxingjun
2024-12-26 15:05:28 +08:00
parent 77cc861e52
commit 13739a7530

View File

@@ -180,6 +180,10 @@ export default {
// }, 5000); // }, 5000);
// arr = false // arr = false
} }
canvas = null;
blob = null;
base64String = null;
res = null;
} catch (error) { } catch (error) {
console.log(6666); console.log(6666);
// 处理整个过程中的任何错误 // 处理整个过程中的任何错误
@@ -190,7 +194,6 @@ export default {
// 调用 captureAndProcessImage 函数 // 调用 captureAndProcessImage 函数
captureAndProcessImage(); captureAndProcessImage();
this.$refs.xingdownLoad.parentNode.removeChild(this.$refs.xingdownLoad);
return false return false
}, 500); }, 500);
@@ -198,7 +201,7 @@ export default {
}, },
close() { close() {
this.$emit('child-colse', '1') this.$emit('child-colse', '1')
this.$refs.xingdownLoad = null; this.$refs.xingdownLoad.parentNode.removeChild(this.$refs.xingdownLoad);
} }
} }
} }