一、概述 将一个页面拆分成一个个小的功能块,每个功能块完成属于自己这部分独立的功能,从而简化整个页面的管理和维护,提高项目的扩展性,这样的流程称作组件化 二、基础篇 1.基本使用 <body> <div id="app"> <!--step3.使用组件--> <my-cpn></my-cpn> </ ...
分类:
其他好文 时间:
2021-03-10 13:25:17
阅读次数:
0
SecurityContext SecurityContext是安全的上下文,所有的数据都是保存到SecurityContext中。 可以通过SecurityContext获取的对象有: Authentication SecurityContextHolder SecurityContextHold ...
分类:
编程语言 时间:
2021-03-04 13:35:29
阅读次数:
0
一、jackSon中@JsonInclude注解详解 JsonJsonInclude.Include.ALWAYS 这个是默认策略,任何情况下都序列化该字段,和不写这个注解是一样的效果。JsonJsonInclude.Include.NON_NULL这个最常用,即如果加该注解的字段为null,那么就 ...
分类:
Web程序 时间:
2021-03-02 11:53:13
阅读次数:
0
test.kafka.eagle.sasl.enable=true test.kafka.eagle.sasl.protocol=SASL_PLAINTEXT test.kafka.eagle.sasl.mechanism=PLAIN test.kafka.eagle.sasl.jaas.confi ...
分类:
其他好文 时间:
2021-02-22 12:41:44
阅读次数:
0
1.4 HTML5新增的表单属性 属性值说明 required required 表单拥有该属性表示其内容不能为空,必填 placeholder 提示文本 表单的提示信息,存在默认值将不显示(修改文字颜色input::placeholder{color:#fff}) autofocus autofo ...
分类:
Web程序 时间:
2021-02-22 12:08:02
阅读次数:
0
mysql8: alter user 'root'@'localhost' identified by '123456'; mysql5.7: update user set authentication_string = password('123456') where user = 'root' ...
分类:
数据库 时间:
2021-02-22 11:45:52
阅读次数:
0
之前有写过关于这些的文章, 本来想认证写一个系类的,但是感觉非常大. 太多工了. 先记入一些零零散散的. 看看以后要不要整理起来。 refer resources : https://www.cnblogs.com/stulzq 晓晨博客 https://www.cnblogs.com/sheng- ...
分类:
Web程序 时间:
2021-02-16 11:58:15
阅读次数:
0
A. Required Remainder 题意: $t$组样例,判定一个正整数$n$是否存在一个大于$1$的奇数因子,\((1≤t≤10^4), (2≤n≤10^{14})\) 思路: 打表,发现只有满足$2^$的数字不存在奇数因子。 Code: int main(){ ios::sync_wit ...
分类:
其他好文 时间:
2021-02-15 12:39:39
阅读次数:
0
下载地址 https://www.enterprisedb.com/downloads/postgres-postgresql-downloads 一直下一步安装就行。 问题1 navicat 连接报错: authentication method 10 not supported 修改: D:\s ...
分类:
数据库 时间:
2021-02-08 12:30:14
阅读次数:
0
什么是认证(Authentication) 通俗地讲就是验证当前用户的身份,证明“你是你自己”(比如:你每天上下班打卡,都需要通过指纹打卡,当你的指纹和系统里录入的指纹相匹配时,就打卡成功) 互联网中的认证: 用户名密码登录 邮箱发送登录链接 手机号接收验证码 只要你能收到邮箱/验证码,就默认你是账 ...
分类:
Web程序 时间:
2021-02-08 12:17:23
阅读次数:
0