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