bug
This commit is contained in:
@@ -201,6 +201,7 @@
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
uni.hideLoading()
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -215,7 +215,8 @@
|
||||
this.$nextTick(() => {
|
||||
html2canvas(this.$refs.waterMarker, {
|
||||
allowTaint: true,
|
||||
useCORS: true
|
||||
useCORS: true,
|
||||
dpi: 300
|
||||
}).then((canvas) => {
|
||||
let dataURL = canvas.toDataURL('image/png')
|
||||
const file = this.dataURLtoFile(dataURL, 'photo.png')
|
||||
|
||||
@@ -169,6 +169,8 @@
|
||||
} else {
|
||||
this.$u.toast(res.msg)
|
||||
}
|
||||
|
||||
uni.hideLoading()
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user