diff --git a/common/request.js b/common/request.js index 186d113..e75d71e 100644 --- a/common/request.js +++ b/common/request.js @@ -2,9 +2,9 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ var url=process.env.NODE_ENV === 'development'?{ - // default:`http://dtkswx.natappfree.cc` //陈 + default:`http://dpe74u.natappfree.cc` //陈 // default:`http://czixnn.natappfree.cc` //马 - default:`http://usex4q.natappfree.cc` //何 + // default:`http://usex4q.natappfree.cc` //何 // default:`http://192.168.0.116:8080` //孙 }:{ default:`` 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