if (to.meta.requiresProps) {
console.log("here: ", Store.state.SubmitForm.hasEmail)
if (Store.state.SubmitForm.hasEmail){
return next({name: 'form.checkout'});
}
就是这个问题吧:hasEmail 为 true ,走 {name: 'form.checkout'}
,然后 to.meta.requiresProps
又走一遍,就这样循环啊