fixed the adherent login redirect to base
This commit is contained in:
parent
cbd9570fb1
commit
caf223effe
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@ import qs from 'querystring-es3'
|
||||||
|
|
||||||
import materiauGQL from 'vuejs/api/gql/materiauflaglist.fragment.gql'
|
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 {
|
export default {
|
||||||
namespaced: true,
|
namespaced: true,
|
||||||
|
@ -183,7 +183,7 @@ export default {
|
||||||
window.location.reload(true)
|
window.location.reload(true)
|
||||||
}
|
}
|
||||||
if (state.isAdherent) {
|
if (state.isAdherent) {
|
||||||
this.$router.push({
|
router.push({
|
||||||
name: 'base'
|
name: 'base'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue