头像上传裁剪

This commit is contained in:
haomingming
2023-05-11 11:13:50 +08:00
parent 7ef82dab29
commit c3ef53d336
18 changed files with 1429 additions and 60 deletions
+3
View File
@@ -66,6 +66,9 @@ Page({
console.log("onChange: ", detail);
if(detail){
this.setData({ note: this.data.open_note });
wx.vibrateShort({
"type": "heavy"
})
}else{
this.setData({ note: this.data.close_note });
}