随笔分类 -  笔记

学习笔记
摘要:captureScreenshot() { const { viewer } = this.state const { when } = Cesium; const deferred = when.defer(); const scene = viewer.scene; var removeCall 阅读全文

posted @ 2023-09-07 16:40 博客sl 阅读(555) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2022-12-02 16:22 博客sl

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

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

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

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

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

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

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

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

摘要:https://www.videolan.org/vlc/download-sources.html http://download.videolan.org/pub/videolan/vlc/ 阅读全文

posted @ 2020-09-29 17:33 博客sl 阅读(463) 评论(0) 推荐(0)

摘要:https://www.jianshu.com/p/8f9961a10e5b 1,引入 js-xlsx npm install xlsx或<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0 阅读全文

posted @ 2020-09-24 17:40 博客sl 阅读(1336) 评论(0) 推荐(0)

摘要:function Counter() { const [count, setCount] = useState(0); useEffect(() => { setTimeout(() => { console.log(count) }, 3000) }) // 在3秒内快速点击5次按钮,控制台打出的 阅读全文

posted @ 2020-09-23 17:36 博客sl 阅读(331) 评论(0) 推荐(0)

摘要:原文链接:https://blog.csdn.net/huaweichenai/article/details/101705981 在部署YApi之前我们的本地服务器必须安装nodejs,mongodb,gitnode.js安装可参考:https://www.cnblogs.com/beile/p/ 阅读全文

posted @ 2020-09-03 16:43 博客sl 阅读(1936) 评论(0) 推荐(0)

摘要:mongodb 安装完后,配置环境变量,path,新建添加bin路径。 阅读全文

posted @ 2020-09-03 15:48 博客sl 阅读(168) 评论(0) 推荐(0)

摘要:一、调用FileReader对象的方法 方法名 参数 描述abort none 中断读取readAsBinaryString file 将文件读取为二进制码readAsDataURL file 将文件读取为 DataURLreadAsText file, [encoding] 将文件读取为文本 re 阅读全文

posted @ 2020-06-01 09:21 博客sl 阅读(941) 评论(0) 推荐(0)

摘要:第一个问题: pre-commit hook failed (add --no-verify to bypass)的问题 问题原因: pre-commit钩子惹的祸 当你在终端输入git commit -m"XXX",提交代码的时候, pre-commit(客户端)钩子,它会在Git键入提交信息前运 阅读全文

posted @ 2020-05-21 15:14 博客sl 阅读(4161) 评论(0) 推荐(0)

摘要:tooltip : { show: true,//默认值true,可选为:true(显示) | false(隐藏) zlevel: 1,//默认值1,一级层叠控制。每一个不同的zlevel将产生一个独立的canvas,相同zlevel的组件或图标将在同一个canvas上渲染。zlevel越高越靠顶层 阅读全文

posted @ 2020-05-12 14:24 博客sl 阅读(368) 评论(0) 推荐(0)

摘要:useEffect: https://blog.csdn.net/sofeware333/article/details/105943747 https://www.jianshu.com/p/6e525c3686ab React Context const {Provider, Consumer} 阅读全文

posted @ 2020-05-09 15:36 博客sl 阅读(285) 评论(0) 推荐(0)

摘要:解决方法1: --disable-web-security,我们在目标中添加上这一句就可以了记得中间有一个空格,然后关上浏览器,重新手动打开输入地址,(我的是本地文件html直接拖放进入,不要使用dw快捷F12打开,第一次无效,我也不知道为什么)问题解决 (具体可参照图片附1), 阅读全文

posted @ 2020-05-07 17:11 博客sl 阅读(1182) 评论(0) 推荐(0)

摘要:使用说明 import GGEditor, { Flow } from 'gg-editor'; <GGEditor> <Flow /> </GGEditor> API 属性说明类型默认值 data 初始数据 object - graph 图配置项,参考 G6 Graph API object - 阅读全文

posted @ 2020-05-07 11:15 博客sl 阅读(2062) 评论(0) 推荐(0)

摘要:cnblogs.com/hubyq/p/11265534.html http://ggeditor.com/ GGEditor - Flow的简单使用 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 阅读全文

posted @ 2020-05-05 23:14 博客sl 阅读(1614) 评论(0) 推荐(0)

摘要:history路由404配置 后端配置: https://router.vuejs.org/zh/guide/essentials/history-mode.html#%E5%90%8E%E7%AB%AF%E9%85%8D%E7%BD%AE%E4%BE%8B%E5%AD%90 一、前端配置: ①、r 阅读全文

posted @ 2020-04-26 22:13 博客sl 阅读(1667) 评论(0) 推荐(0)

摘要:axios 全局配置: //axios-init.js import axios from 'axios'; let loadingInstance; //创建Loading 的实例 axios.defaults.baseURL = appConfig.xhr.baseURL; // 配置axios 阅读全文

posted @ 2020-04-25 13:53 博客sl 阅读(229) 评论(0) 推荐(0)