上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 29 下一页
摘要: 大家有没有觉得BeanUtils有的操作重复了,自己又很懒不想做重复的事呢 List<HotArticleVo> articleVos = new ArrayList<>(); for (Article article : articles) { HotArticleVo vo = new HotA 阅读全文
posted @ 2022-08-06 12:39 长情c 阅读(60) 评论(0) 推荐(0)
摘要: 最近做一个项目用到了maven的父子模块这样的一个结构啊,这个结构的好处呢就是复用了,类似于java的继承了,子模块继承了父模块的依赖等,既然我们又使用了父子模块那么我们的打包方式也是不一样的,不能在各个模块中打包package或者install而是在父模块中进行打包。 ##创建父子模块 我们这里的 阅读全文
posted @ 2022-08-05 23:14 长情c 阅读(1062) 评论(0) 推荐(0)
摘要: 爷吐了,这垃圾cmake着实不会搞。 1.find_package(Qt5 COMPONENTS Widgets LinguistTools REQUIRED Sql) 2.target_link_libraries(Hotel-Manage-System PRIVATE Qt5::Widgets 阅读全文
posted @ 2022-07-24 21:01 长情c 阅读(249) 评论(0) 推荐(0)
摘要: FAILED: QtDemo.exe cmd.exe /C "cd . && "D:\Program Files\JetBrains\CLion 2022.1.1\bin\mingw\bin\g++.exe" -g CMakeFiles/QtDemo.dir/QtDemo_autogen/mocs_ 阅读全文
posted @ 2022-07-23 13:54 长情c 阅读(1160) 评论(0) 推荐(1)
摘要: CMake Error at CMakeLists.txt:11 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package 阅读全文
posted @ 2022-07-23 13:01 长情c 阅读(3308) 评论(0) 推荐(0)
摘要: 1.node安装echarts依赖 npm i echarts -S 2.引入Echarts Echarts官网:https://echarts.apache.org/zh/index.html Echarts使用手册:https://echarts.apache.org/handbook/zh/g 阅读全文
posted @ 2022-07-20 23:51 长情c 阅读(1266) 评论(0) 推荐(0)
摘要: 2022-07-19 18:53:58.210 WARN 1244 [nio-8888-exec-3] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.multipart.MaxUploadSi 阅读全文
posted @ 2022-07-19 19:08 长情c 阅读(669) 评论(0) 推荐(0)
摘要: 这里使用的还是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)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 29 下一页