@ -138,12 +138,11 @@ export default {
})
.then(() => {
this.$store.dispatch("LogOut").then(() => {
location.href =
// process.env.NODE_ENV === "production"
// location.href = process.env.NODE_ENV === "production"
// ? "/demo/suzhouyingjiPC/"
// : "/";
process.env.NODE_ENV === "production" ? "./" : "/";
location.href = process.env.NODE_ENV === "production" ? "./" : "/";
});
.catch(() => {});
@ -112,13 +112,11 @@ export default {