Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Ben Hong <73675debcd8a436be48ec22211dcf44fe0df0a64@bencodezen.io>
vuejs/vue-router,vuejs/vue-router,vuejs/vue-router