lijinlong^2
laozt 1 year ago
parent 2feea06604
commit 073ebe0adf

@ -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(() => {});

@ -112,13 +112,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"
// ? "/demo/suzhouyingjiPC/"
// : "/";
location.href =
process.env.NODE_ENV === "production" ? "./" : "/";
location.href = process.env.NODE_ENV === "production" ? "./" : "/";
});
})
.catch(() => {});

Loading…
Cancel
Save