This commit is contained in:
2023-11-09 13:55:40 +08:00
parent 1efff531ba
commit 0b17a0a022

View File

@ -352,34 +352,34 @@
}) })
}) })
// //
await this.$refs.rCanvas.drawText({ // await this.$refs.rCanvas.drawText({
// text: "怀", // text: "",
x: 150, // x: 150,
y: 300, // y: 300,
font_color: "#444444", // font_color: "#444444",
font_size: 12, // font_size: 12,
font_weight: 600, // font_weight: 600,
text_align: 'center' // text_align: 'center'
}).catch(err_msg => { // }).catch(err_msg => {
uni.showToast({ // uni.showToast({
title: err_msg, // title: err_msg,
icon: "none" // icon: "none"
}) // })
}) // })
await this.$refs.rCanvas.drawText({ // await this.$refs.rCanvas.drawText({
// text: "", // text: "",
x: 150, // x: 150,
y: 320, // y: 320,
font_color: "#444444", // font_color: "#444444",
font_size: 12, // font_size: 12,
font_weight: 600, // font_weight: 600,
text_align: 'center' // text_align: 'center'
}).catch(err_msg => { // }).catch(err_msg => {
uni.showToast({ // uni.showToast({
title: err_msg, // title: err_msg,
icon: "none" // icon: "none"
}) // })
}) // })
await this.$refs.rCanvas.drawText({ await this.$refs.rCanvas.drawText({
text: "新医路健康服务平台", text: "新医路健康服务平台",
x: 150, x: 150,