头像上传裁剪

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
+5 -2
View File
@@ -88,7 +88,11 @@ Page({
onChange({ detail }) {
console.log("onChange: ", detail);
if(detail){
wx.vibrateShort({
"type": "heavy"
})
}
//修改开关
let params = {};
params.inquiry_type = this.data.inquiry_type;//接诊类型(1:专家问诊 2:快速问诊 3:公益问诊 4:问诊购药)
@@ -98,7 +102,6 @@ Page({
console.log(response);
}).then(()=>{
if(detail){
let tmplIds = ['G1RIs0RYqsTQ2CuPQWalIMyb6_deuEEbJfajfhGvNzc']
let sub_promise = requestSubscribeMessage(tmplIds)
sub_promise.then(res => {