fixed the adherent login redirect to base
This commit is contained in:
@ -5,7 +5,7 @@ import qs from 'querystring-es3'
|
||||
|
||||
import materiauGQL from 'vuejs/api/gql/materiauflaglist.fragment.gql'
|
||||
|
||||
// import router from 'vuejs/route' // this is not working
|
||||
import router from 'vuejs/route' // this is not working
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
@ -183,7 +183,7 @@ export default {
|
||||
window.location.reload(true)
|
||||
}
|
||||
if (state.isAdherent) {
|
||||
this.$router.push({
|
||||
router.push({
|
||||
name: 'base'
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user