From 37f58f6e439642c545ab43fbbb8416651efb07b4 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Mon, 6 Mar 2023 11:12:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=97=85=E8=99=AB=E5=AE=B3?= =?UTF-8?q?=20=20=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/pestType.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/massif/pestType.vue b/pages/massif/pestType.vue index 51eb91b..c618a71 100644 --- a/pages/massif/pestType.vue +++ b/pages/massif/pestType.vue @@ -262,7 +262,7 @@ export default { }else{ uni.showModal({ title:"提示", - content:"添加虫害失败!", + content:res.msg||"添加虫害失败!", showCancel:false, }) } @@ -273,12 +273,13 @@ export default { text:e, } }) + console.log(res,'---res----2----') if(res.statu){ this.list.push({id:res.data.id,name:e}) }else{ uni.showModal({ title:"提示", - content:"添加病害失败!", + content:res.msg||"添加病害失败!", showCancel:false, }) }