摘要: 这里使用的还是hutools工具 https://gitee.com/link?target=https%3A%2F%2Fwww.hutool.cn%2Fdocs%2F%23%2Fpoi%2FExcel%25E5%25B7%25A5%25E5%2585%25B7-ExcelUtil 导出 经典导包环 阅读全文
posted @ 2022-07-15 13:10 长情c 阅读(3786) 评论(0) 推荐(0)
摘要: 思路:在roter的index.js中定义meta路由元数据,然后在computed中监听路由的动态变化,然后在面包屑组件中使用v-for遍历 ##定义meta数据 { path: '/', name: 'manage', redirect:"/home", meta:{ name:"主页" }, 阅读全文
posted @ 2022-07-15 11:46 长情c 阅读(545) 评论(0) 推荐(0)
摘要: 假如我要抽取一个Vue的一个子路由页面 只需要在router目录下的index.js中指定它的子路由就行了 { path: '/', name: 'manage', component: () => import('../views/Manage'), children: [ { path: '/u 阅读全文
posted @ 2022-07-15 00:11 长情c 阅读(177) 评论(0) 推荐(0)