From bc94e1dafee085fbd6b38bb1bb2a6f4d727ae714 Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Fri, 29 Mar 2024 18:44:30 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BE=93=E5=85=A5=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
user/commpents/myprofile/index.js | 3 ++-
user/commpents/myprofile/index.wxml | 4 ++--
user/commpents/textarea-cell/index.wxml | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/user/commpents/myprofile/index.js b/user/commpents/myprofile/index.js
index 16116ee..e16de5c 100644
--- a/user/commpents/myprofile/index.js
+++ b/user/commpents/myprofile/index.js
@@ -905,7 +905,8 @@ Component({
if(!avatar){wx.showToast({title: '请上传头像',icon: "error"});return}
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}
+ if(!textarea_shanchang){wx.showToast({title: '请输入擅长',icon: "error"});return};
+
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
}
diff --git a/user/commpents/myprofile/index.wxml b/user/commpents/myprofile/index.wxml
index a83bba2..140f262 100644
--- a/user/commpents/myprofile/index.wxml
+++ b/user/commpents/myprofile/index.wxml
@@ -391,7 +391,7 @@
disabled="{{(indentity && iden_auth_disabled) || (!indentity && introduction_status==2)}}"
has_error_content="{{ brief_introduction_reason }}"
data-textarea_name="textarea_jianjie"
- bindTextAreaBlur="getTextAreaVal" />
+ bind:TextAreaBlur="getTextAreaVal" />
@@ -404,7 +404,7 @@
textarea_val="{{textarea_shanchang}}"
has_error_content="{{ be_good_at_reason }}"
textarea_cell_content_placeholder="描述您所擅长治疗的疾病或者研究方向(10~1000字)"
- data-textarea_name="textarea_shanchang" bindTextAreaBlur="getTextAreaVal" />
+ data-textarea_name="textarea_shanchang" bind:TextAreaBlur="getTextAreaVal" />
-
+