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 }