From 4f4f3992043258f28983ddc05e130f647e6b3ec8 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Thu, 13 Apr 2023 17:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=86=9C=E4=BA=8B=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=93=8D=E4=BD=9C=E6=98=AF=E5=90=A6=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/request.js | 2 +- pages/massif/add_farming.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/request.js b/common/request.js index a708ade..fd4dc2a 100644 --- a/common/request.js +++ b/common/request.js @@ -5,7 +5,7 @@ export function host(host='default',suffix='/plant_manage'){ // default:`http://i5skii.natappfree.cc` //陈 // default:`http://jjytvc.natappfree.cc` //马 // default:`http://6exd5b.natappfree.cc` //何 - default:"http://192.168.0.14:7000" + default:"http://192.168.0.23:7000" }:{ default:`` } diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 0abc533..974d31a 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -44,7 +44,7 @@ display:flex; align-items:center; height:70rpx; - &:before{ + &.mast:before{ content:"*"; color:red; margin-right:5rpx; @@ -204,7 +204,7 @@ - + 操作 病虫害记录 @@ -341,7 +341,7 @@ export default { }else if(/^播种$|^用药$|^施肥$/.test(this.formData.farmingType) && this.formData.inputList.length<=0){ uni.showToast({title:"请添加农资!",icon:"none"}) return false - }else if(/^用药$|^施肥$/.test(this.formData.farmingType) && !this.formData.farmPests){ + }else if(/^用药$/.test(this.formData.farmingType) && !this.formData.farmPests){ uni.showToast({title:"请添加病虫害记录!",icon:"none"}) return false }