摘要: 我们用Vue-Cli脚手架新建项目时会选择使用ESLint + Prettier来统一我们的前端代码风格,但这对新手使用有很大困难,严格的格式要求容易出现很多警告和错误,这时最好关闭ESLint + Prettier。 1.在src下新建文件.eslintrc.js,并如下配置: module.ex 阅读全文
posted @ 2021-09-04 23:35 panchanggui 阅读(866) 评论(0) 推荐(1) 编辑
摘要: 最近在项目中涉及到Excle的导入功能,通常是我们定义完模板供用户下载,用户按照模板填写完后上传;这里待下载模板位置为resource/excelTemplate/test.xlsx,尝试了四种读取方式,并且测试了四种读取方式分别的windows开发环境下(IDE中)读取和生产环境(linux下ja 阅读全文
posted @ 2021-09-04 19:54 panchanggui 阅读(544) 评论(0) 推荐(0) 编辑
摘要: [ERROR]Failed to instantiate [org.elasticsearch.client.transport.TransportClient]: Factory method ‘elasticsearchClient’ threw exception; nested except 阅读全文
posted @ 2021-09-04 11:16 panchanggui 阅读(416) 评论(0) 推荐(0) 编辑