|
@@ -102,7 +102,7 @@ export default {
|
|
type: 'warning'
|
|
type: 'warning'
|
|
}).then(() => {
|
|
}).then(() => {
|
|
this.$store.dispatch('LogOut').then(() => {
|
|
this.$store.dispatch('LogOut').then(() => {
|
|
- location.href = process.env.VUE_APP_ASSETS_PUBLIC_PATH ? (process.env.VUE_APP_ASSETS_PUBLIC_PATH + "/index") : "/index";
|
|
|
|
|
|
+ location.href = process.env.VUE_APP_ASSETS_PUBLIC_PATH && process.env.VUE_APP_ASSETS_PUBLIC_PATH != '/' ? (process.env.VUE_APP_ASSETS_PUBLIC_PATH + "/index") : "/index";
|
|
})
|
|
})
|
|
}).catch(() => {});
|
|
}).catch(() => {});
|
|
}
|
|
}
|