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