feat:练字贴生成
This commit is contained in:
@@ -71,9 +71,6 @@ Page({
|
||||
const boxWidth = rect.width;
|
||||
const boxHeight = boxWidth / (width / height);
|
||||
|
||||
console.log('boxWidth----:', boxWidth)
|
||||
console.log('boxHeight----:', boxHeight)
|
||||
|
||||
// 然后初始化canvas
|
||||
wx.createSelectorQuery()
|
||||
.select('#canvasContent')
|
||||
@@ -182,7 +179,7 @@ Page({
|
||||
}
|
||||
if (isBeyond) {
|
||||
wx.showToast({
|
||||
title: '最多只能添加6个字,多余的字为被添加哦!',
|
||||
title: '最多只能添加6个字,多余的字未被添加哦!',
|
||||
icon: 'none',
|
||||
duration: 2000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user