上一页 1 2 3 4 5 6 ··· 10 下一页

2022年11月25日

摘要: 使用 16 版本后的 createRef()函数 class MyComponent extends React.Component<iProps, iState> { constructor(props) { super(props); this.inputRef = React.createRe 阅读全文

posted @ 2022-11-25 10:54 博客sl 阅读(35) 评论(0) 推荐(0) 编辑

2022年11月22日

摘要: css 动态 https://csscoco.com/inspiration/#/./border/border-image-animate 1,:target伪类与:hover、:link、:visited、:focus等伪类的用法一样 :target {color:blue} <div clas 阅读全文

posted @ 2022-11-22 17:53 博客sl 阅读(22) 评论(0) 推荐(0) 编辑

2022年8月23日

摘要: https://blog.csdn.net/qq_36704549/article/details/109390566 阅读全文

posted @ 2022-08-23 16:17 博客sl 阅读(5) 评论(0) 推荐(0) 编辑

2022年1月18日

摘要: 非跨域,downLoad属性 跨域 downLoadImg=(imgsrc, name)=>{ let image = new Image(); // 解决跨域 Canvas 污染问题 image.setAttribute("crossOrigin", "anonymous"); image.onl 阅读全文

posted @ 2022-01-18 16:47 博客sl 阅读(127) 评论(0) 推荐(0) 编辑

2021年12月20日

摘要: 坐标轴,字体颜色,如下: const option = { tooltip: { show: true, trigger: 'axis', backgroundColor: "#fff", textStyle: { color: "#333333", }, axisPointer: { type: 阅读全文

posted @ 2021-12-20 15:48 博客sl 阅读(181) 评论(0) 推荐(0) 编辑

2021年2月20日

摘要: WeakMap和Map的区别 如果是普通的值类型则不允许。比如:字符串,数字,null,undefined,布尔类型。而Map结构是允许的,这就是两者的不同之处,谨记。 跟Map一样,WeakMap也拥有get、has、delete方法,用法和用途都一样。不同地方在于,WeakMap不支持clear 阅读全文

posted @ 2021-02-20 15:23 博客sl 阅读(497) 评论(0) 推荐(0) 编辑

摘要: if(window.console && window.console.log) { console.info("%c ", "background: url(https://images.cnblogs.com/cnblogs_com/miluluyo/1493340/o_a.gif) no-re 阅读全文

posted @ 2021-02-20 14:18 博客sl 阅读(421) 评论(0) 推荐(0) 编辑

2021年1月8日

摘要: 切换到root用户然后: service docker stop rm -rf /var/lib/dockerstart docker.service到这里就会发现镜像已经删除干净。 docker启动命令,docker重启命令,docker关闭命令 启动 systemctl start docker 阅读全文

posted @ 2021-01-08 16:16 博客sl 阅读(4551) 评论(0) 推荐(0) 编辑

2020年12月24日

摘要: test分支上的代码完全覆盖dev分支,首先切换到dev分支git checkout dev 然后直接设置代码给远程的test分支上的代码git reset --hard origin/test 执行上面的命令后dev分支上的代码就完全被test分支上的代码覆盖了,注意只是本地分支,这时候还需要将本 阅读全文

posted @ 2020-12-24 16:07 博客sl 阅读(1364) 评论(0) 推荐(1) 编辑

2020年9月30日

摘要: 网络上公用的rtsp地址(2020年9月30日可用): rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov。 这个网址真的特别的卡,勉强能用用,经常有连不上的情况,转码也是很难成功,导致在浏览器一直没办法显示出来。 谷歌浏 阅读全文

posted @ 2020-09-30 11:11 博客sl 阅读(3965) 评论(1) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页