lijinlong^2
laozt 1 year ago
parent 6e17ee73f4
commit 3ce2938264

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

@ -111,10 +111,15 @@ export default {
type: "warning",
})
.then(() => {
this.$store.dispatch("LogOut").then(() => {
// this.$store.dispatch("LogOut").then(() => {
// location.href =
// process.env.NODE_ENV === "production"
// ? "/demo/suzhouyingjiPC/"
// : "/";
// });
location.href =
process.env.NODE_ENV === "production"
? "/demo/suzhouyingjiPC/"
? "./"
: "/";
});
})

Loading…
Cancel
Save