// path:"/about/:id"
// 动态路由参数一定是数组
// path:"/about/:id(\\d+)"
// 有多个参数 +
// path:"/about/:id+" // /about/123/aaa
// 参数可有可无 * 参数可重复叠加
// path:"/about/:id*"
// 参数可有可无 ? 参数不可重复叠加
// path:"/about/:id?"
“path”:“/home/:id?/:name?” // /home /home/111 /home/111/aa
const routes=[{
// path:"/about/:id"
// 动态路由参数一定是数组
// path:"/about/:id(\\d+)"
// 有多个参数 +
// path:"/about/:id+" // /about/123/aaa
// 参数可有可无 * 参数可重复叠加
// path:"/about/:id*"
// 参数可有可无 ? 参数不可重复叠加
// path:"/about/:id?"
}]