xkrs_ms/README.md

56 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 平台简介
基于若依 前后端浏览器书签分离项目
书签管理系统>>>>正在开发<br/>
1.书签管理
导航管理系统>>>>未开发
RSS订阅管理>>>>未开发
便签管理系统>>>>未开发
https://www.jianshu.com/p/df3705c54188
https://www.jianshu.com/p/c1ee7e4247bf
@Data 标签生成getter/setter toString()等方法
@NonNull : 让你不在担忧并且爱上NullPointerException
@CleanUp : 自动资源管理不用再在finally中添加资源的close方法
@Setter/@Getter : 自动生成set和get方法
@ToString : 自动生成toString方法
@EqualsAndHashcode : 从对象的字段中生成hashCode和equals的实现
@NoArgsConstructor/@RequiredArgsConstructor/@AllArgsConstructor
@AllArgsConstructor 注在类上,提供类的全参构造
@NoArgsConstructor 注在类上,提供类的无参构造
自动生成构造方法
@Data : 自动生成set/get方法toString方法equals方法hashCode方法不带参数的构造方法
@Value : 用于注解final类
@Builder : 产生复杂的构建器api类
@SneakyThrows : 异常处理(谨慎使用)
@Synchronized : 同步方法安全的转化
@Getter(lazy=true) :
@Log : 支持各种logger对象使用时用对应的注解@Log4j
beforCreate创建之前
Created创建之后
beforMount载入之前
Mounted载入之后
beforUpdate更新之前
Updated更新之后
beforDestroy销毁之前
Destroyed销毁之后
activatekeep-alive组件激活时调用
deactivatedkeep-alive组件停用时调用
errorCaptured这个组件的作用是接受子孙组件报错是调用三个参数 错误对象、错误的组件、错误信息)