- 博客(5)
- 收藏
- 关注
原创 Cannot connect to the Maven process
maven配置的原因修改settings文件的mirrors <mirrors> <!-- mirror | Specifies a repository mirror site to use instead of a given repository. The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. I
2022-02-26 20:33:44 531
原创 Java-Jackson使用详解
Java-Jackson使用详解序列化Json是什么?1.基本规则2.获取数据3.用途Jackson1.导入Jar包2.Json注解3.Json转为Java对象4.Java对象转换Json序列化序列化 (Serialization)是将对象的状态信息转换为可以存储或传输的形式的过程。在序列化期间,对象将其当前状态写入到临时或持久性存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对象。Json是什么?Jason是JavaScript Object Notati
2022-02-26 14:30:29 155
原创 Convert excel format exception.You can try specifying the ‘excelType‘ yourself
@ApiOperation(value = "楼栋基本信息", notes = "需要登录。请求头携带Authorization字段") @ApiImplicitParams({ @ApiImplicitParam(name = "excelFile", value = "excel文件", required = true, dataType = "int", paramType = "query") }) @ApiResponses({ ...
2022-02-24 20:57:18 12959
原创 vite配置env全局变量
1:文件位置2:env.d.ts配置(按照官网)/// <reference types="vite/client" />interface ImportMetaEnv { readonly VITE_APP_TITLE: string readonly VITE_REQUEST_BASE_UR: string | undefined}interface ImportMeta { readonly env: ImportMetaEnv}declare modul
2022-02-23 21:48:28 1617
原创 [vue 进阶] 关于dicts字典的用法
前言在使用若依框架开发小项目的时候,发现在项目中频繁使用到字典,原本代码中的dicts没有深入研究,故自己写了一个混入来实现想要的字典获取功能。但是觉得每次切换页面都需要调用一下,而且每个系统都有一个mixins混入文件,感觉维护起来稍显繁琐。继而研究了一下dicts的用法,记录一下使用过程。1.首先确定字典的接口,在若依框架中如下,具体可根据自己后端提供的字典接口进行修改// 根据字典类型查询字典数据信息export function getDicts(dictType) { return r
2022-02-23 00:48:34 597
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人