|
|
@ -56,7 +56,6 @@ import SizeSelect from '@/components/SizeSelect'
|
|
|
|
import Search from '@/components/HeaderSearch'
|
|
|
|
import Search from '@/components/HeaderSearch'
|
|
|
|
import RuoYiGit from '@/components/RuoYi/Git'
|
|
|
|
import RuoYiGit from '@/components/RuoYi/Git'
|
|
|
|
import RuoYiDoc from '@/components/RuoYi/Doc'
|
|
|
|
import RuoYiDoc from '@/components/RuoYi/Doc'
|
|
|
|
import config from '@/../vue.config'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -103,7 +102,7 @@ export default {
|
|
|
|
type: 'warning'
|
|
|
|
type: 'warning'
|
|
|
|
}).then(() => {
|
|
|
|
}).then(() => {
|
|
|
|
this.$store.dispatch('LogOut').then(() => {
|
|
|
|
this.$store.dispatch('LogOut').then(() => {
|
|
|
|
location.href = config.publicPath + 'index';
|
|
|
|
this.$router.push({ path: "/login" })
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}).catch(() => {});
|
|
|
|
}).catch(() => {});
|
|
|
|
}
|
|
|
|
}
|
|
|
|