05 2022 档案

摘要:import numeral from 'numeral';千分位格式化 numeral(8846).format('0,0') 阅读全文
posted @ 2022-05-27 14:16 非帆丶 阅读(120) 评论(0) 推荐(0) 编辑
摘要:下载地址:http://nginx.org/en/download.html 一、Nginx安装环境依赖 1、安装gcc yum install -y gcc 2、安装pcre yum install -y pcre pcre-devel 3、安装zlib yum install -y zlib z 阅读全文
posted @ 2022-05-18 22:53 非帆丶 阅读(69) 评论(0) 推荐(0) 编辑
摘要:学习资料:https://www.bilibili.com/video/BV1wy4y1D7JT?p=98 学习文档 英文文档: https://redux.js.org/ 中文文档: http://www.redux.org.cn/ Github: https://github.com/react 阅读全文
posted @ 2022-05-15 21:19 非帆丶 阅读(30) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/82cd9559f8e6 一、httpclient HttpClient 3 ,由于早已不在维护 <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-http 阅读全文
posted @ 2022-05-13 13:49 非帆丶 阅读(20) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.8</version> </dependency> 阅读全文
posted @ 2022-05-13 12:47 非帆丶 阅读(179) 评论(0) 推荐(0) 编辑
摘要:一、hutool 一个Java基础工具类,对文件、流、加密解密、转码、正则、线程、XML等JDK方法进行封装,组成各种Util工具类 依赖 <!--Hutool工具集依赖--> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool- 阅读全文
posted @ 2022-05-13 12:36 非帆丶 阅读(17) 评论(0) 推荐(0) 编辑
摘要:一、生成uuid插件 nanoid 1、安装 yarn add nanoid 2、引入 import {nanoid} from 'nanoid' 3、使用 let id = nanoid() 二、时间插件 moment 1、安装 npm install moment --save yarn add 阅读全文
posted @ 2022-05-13 10:42 非帆丶 阅读(365) 评论(0) 推荐(0) 编辑
摘要:学习视频:https://www.bilibili.com/video/BV1cE411j7bB?spm_id_from=333.337.search-card.all.click 指定条件排序 https://www.cnblogs.com/zhaozhou/p/10761471.html htt 阅读全文
posted @ 2022-05-13 10:19 非帆丶 阅读(110) 评论(0) 推荐(0) 编辑
摘要:文本一行显示,超出省略号展示 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; 显示固定行数 overflow: hidden; display: -webkit-box; -webkit-box-orient: vert 阅读全文
posted @ 2022-05-12 21:08 非帆丶 阅读(804) 评论(0) 推荐(0) 编辑
摘要:学习地址 https://www.bilibili.com/video/BV1wy4y1D7JT?p=35 高阶函数:如果一个函数符合下面2个规范中的任何一个,那该函数就是高阶函数。 1.若A函数,接收的参数是一个函数,那么A就可以称之为高阶函数。 2.若A函数,调用的返回值依然是一个函数,那么A就 阅读全文
posted @ 2022-05-08 21:56 非帆丶 阅读(42) 评论(0) 推荐(0) 编辑
摘要:学习视频:https://www.bilibili.com/video/BV1wy4y1D7JT?p=34 一、受控组件 onChange方法实现 <script type="text/babel"> //创建组件 class Login extends React.Component{ //初始化 阅读全文
posted @ 2022-05-08 21:09 非帆丶 阅读(93) 评论(0) 推荐(0) 编辑
摘要:学习视频:https://www.bilibili.com/video/BV1wy4y1D7JT?p=27 一、字符串形式的ref(官方不推荐使用) <script type="text/babel"> //创建组件 class Demo extends React.Component{ //展示左 阅读全文
posted @ 2022-05-08 20:41 非帆丶 阅读(32) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>1_类的基本知识</title> </head> <body> <script type="text/javascript" > /* 总结: 1.类中的构造器 阅读全文
posted @ 2022-05-08 19:21 非帆丶 阅读(37) 评论(0) 推荐(0) 编辑