6 lines
122 B
JavaScript
Raw Normal View History

export default function ({ store, redirect }) {
if (!store.state.auth.isLogin) {
return redirect('/')
}
}