通过配置路由时候按照: path:/user/:username/age/:age 这种就可以把参数传递 接受: $routes.params 接受到的是一个json格式的数据, 转载于:https://www.cnblogs.com/xiufengchen/p/10349686.html