vue获取路由信息

    技术2022-07-15  43

    let cur_path = this["$route"].path; //获取当前路由 let routers = this["$router"].options.routes; // 获取路由对象routes

     

    Processed: 0.015, SQL: 9