vue3页面跳转传值时获取不到params值

路由跳转时,将this.$router.push({path:\'/index\',params:{}})改为this.$router.push({name:\'index\',params:{}}),即用na...