diff --git a/common/request.js b/common/request.js index b09e111..2d6f4b0 100644 --- a/common/request.js +++ b/common/request.js @@ -3,7 +3,7 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ var url=process.env.NODE_ENV === 'development'?{ // default:`http://dpe74u.natappfree.cc` //陈 - default:`http://7xa7q2.natappfree.cc` //马 + default:`http://nys8cm.natappfree.cc` //马 // default:`http://7r39sr.natappfree.cc` //何 // default:`http://192.168.0.116:8080` //孙 }:{ diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index 827d499..a7506ac 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -118,7 +118,7 @@ 农事类型 {{v.label}} - 自定义+ + 自定义+ @@ -144,7 +144,7 @@ - + diff --git a/store/index.js b/store/index.js index 43769c6..fd19034 100644 --- a/store/index.js +++ b/store/index.js @@ -23,9 +23,9 @@ export default new Vuex.Store({ outLogin(state){ state.userInfo={} state.token='' - // uni.reLaunch({ - // url:"/pages/home/login", - // }) + uni.reLaunch({ + url:"/pages/home/login", + }) }, setHeadImg(state,val){ state.userInfo.avatar=val