{
//
path:"/login",
component: resolve => require(["@/app/Page/login/login.vue"], resolve),
meta: {title: "",wxAuth: true},
beforeEnter (to, from, next) {
if (auth.loggedIn()) {
next("/home")
} else {
next()
}
}
},
jsif(auth.loggedIn()){}vuemethods
getLocation() {
return this.$store.dispatch("get", {
uri: consts.PREFIX + "/city/open/location"
});
},