This commit is contained in:
yanran200730
2022-05-25 17:50:44 +08:00
parent f23adc52ef
commit 7211926a77
7 changed files with 22 additions and 13 deletions

View File

@@ -166,7 +166,7 @@
this.isHide = true
this.$loading()
this.$nextTick(() => {
html2canvas(this.$refs.waterMarker, {
html2canvas(this.$refs.photo, {
allowTaint: true,
useCORS: true
}).then((canvas) => {
@@ -330,6 +330,7 @@
.waterMarker-img {
width: 100%;
// max-height: 100vh;
}
.watermark {