From a3262a5bc068c763546fcf41480bec339ca6aeaa Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Tue, 2 Apr 2024 16:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4bug=E7=AE=80=E4=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user/commpents/myprofile/index.js | 33 ++++++++++++++++--------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/user/commpents/myprofile/index.js b/user/commpents/myprofile/index.js index e16de5c..0b946d3 100644 --- a/user/commpents/myprofile/index.js +++ b/user/commpents/myprofile/index.js @@ -906,25 +906,26 @@ Component({ if(doctor_expertise.length == 0){wx.showToast({title: '请选择专长',icon: "error"});return} if(!textarea_jianjie){wx.showToast({title: '请输入简介',icon: "error"});return} if(!textarea_shanchang){wx.showToast({title: '请输入擅长',icon: "error"});return}; - + console.log(textarea_jianjie,old_brief_introduction) + console.log(textarea_shanchang, old_be_good_at ) if(avatar==old_avatar && textarea_jianjie==old_brief_introduction &&textarea_shanchang== old_be_good_at && JSON.stringify(doctor_expertise)==old_doctor_expertise){ wx.showToast({title: '请修改数据后再提交',icon: "none"});return } - api.updateIntroduction({ - avatar, - brief_introduction:textarea_jianjie, - be_good_at:textarea_shanchang, - doctor_expertise - }).then(response=>{ - wx.showToast({ - title: '提交成功', - icon: "success" - }) - this.setData({ - introduction_status:2, - iden_auth_status_txt: "资料已提交,审核中" - }) - }) + // api.updateIntroduction({ + // avatar, + // brief_introduction:textarea_jianjie, + // be_good_at:textarea_shanchang, + // doctor_expertise + // }).then(response=>{ + // wx.showToast({ + // title: '提交成功', + // icon: "success" + // }) + // this.setData({ + // introduction_status:2, + // iden_auth_status_txt: "资料已提交,审核中" + // }) + // }) }, addDoctorAuthIden(e){ console.log("addDoctorAuthIden addDoctorAuthIden")