摘要: 一、是什么 该类可以实现基于Java的配置类加载自定义在Spring的应用上下文的bean。 ​ 简单来说,就是为在Spring环境下的Bean添加配置类。 二、有什么用 使用AnnotationConfigApplicationContext可注册配置类。 三、怎么用 有三种使用方法 1、通过re 阅读全文
posted @ 2021-10-15 17:06 刘飞宇 阅读(476) 评论(0) 推荐(0) 编辑
摘要: LocalDate常用方法 LocalDate.now() LocalDateof(int year, int month, int day) impport java.time.LocalDate /** * LocalDate实例 * @auther feiyu */ public class 阅读全文
posted @ 2021-09-16 16:00 刘飞宇 阅读(314) 评论(0) 推荐(0) 编辑
摘要: commit 的类型: feat: 新功能、新特性 fix: 修改 bug perf: 更改代码,以提高性能(在不影响代码内部行为的前提下,对程序性能进行优化) refactor: 代码重构(重构,在不影响代码内部行为、功能下的代码修改) docs: 文档修改 style: 代码格式修改, 注意不是 阅读全文
posted @ 2021-09-16 14:01 刘飞宇 阅读(75) 评论(0) 推荐(0) 编辑
摘要: Redux可以直接从文档学习 -->[https://www.redux.org.cn/](react-redux 文档 · Redux) 一、Redux的三大原则 单一数据源 State是只读的 使用纯函数修改State 阅读全文
posted @ 2021-08-23 15:29 刘飞宇 阅读(35) 评论(0) 推荐(0) 编辑
摘要: #列表框和文本域 1、列表框:option 2、文本域:textarea value:给表单一个默认值 cols:行 rows:列 --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>文本框学习</tit 阅读全文
posted @ 2021-01-05 12:06 刘飞宇 阅读(59) 评论(0) 推荐(0) 编辑