From fd0ac20a0eb9fea134a78061580713755196f68d Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 23 Feb 2024 19:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20writesick=20Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/navbar/navbar.js | 6 +++--- pages/writeSick/writeSick.js | 16 +++++++++------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/components/navbar/navbar.js b/components/navbar/navbar.js index 14aa0fe..24daa45 100644 --- a/components/navbar/navbar.js +++ b/components/navbar/navbar.js @@ -25,9 +25,9 @@ Component({ this.triggerEvent('handleFocus',true) }, goInquirtForm(){ - wx.navigateTo({ - url: '/pages/sickDetail/sickDetail', - }) + // wx.navigateTo({ + // url: '/pages/writeSick/writeSick', + // }) } }, diff --git a/pages/writeSick/writeSick.js b/pages/writeSick/writeSick.js index 44054a3..8a8954c 100644 --- a/pages/writeSick/writeSick.js +++ b/pages/writeSick/writeSick.js @@ -832,7 +832,7 @@ Page({ }) } //this.getSick(); - + this.getlocalInfo(options.family_id); this.handleIsExist(); }, @@ -865,15 +865,17 @@ Page({ disease_class_name: prevData.disease_class_name, disease_class_id: prevData.disease_class_id, }) - } - console.log(pathography_id) - if(pathography_id){ - this.handlepathographyDetail(pathography_id) }else{ - this.getlocalInfo(family_id); - //this.handleLastSick(options.family_id); + // console.log(pathography_id) + if(pathography_id){ + this.handlepathographyDetail(pathography_id) + } + // else{ + // this.getlocalInfo(family_id); + // } } + }, /**