上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 如题 参考 了 https://blog.csdn.net/weixin_52418790/article/details/123690752 但是还是不行, 后来 发现 我这个 是 在 element ui 的模态框 里面 写的,但是模态框还没有显示呢, 这个 组件就加载 了, 怀疑 和这个有关 阅读全文
posted @ 2022-11-19 22:11 ifnk 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 场景 现在有一个arm 的板卡,ssh 又旧 又残 ,不能用 公钥免密登录 ,所以使用 了 sshpass 但是 arm 的板卡 一重启 ,他的 认证 就变了 ,导致 我们ssh 会报 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 阅读全文
posted @ 2022-11-09 16:35 ifnk 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: 首先要在win10 里面 把可选功能 的 openssh server 钩上, 然后 在 win+r 输入 services.msc 打开服务 重启openssh server 服务 然后使用管理员 打开powershell ,输入 Notepad C:\ProgramData\ssh\sshd_c 阅读全文
posted @ 2022-11-09 16:03 ifnk 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 首先 在 vmware 下设置 共享文件夹 然后 在命令行输入 命令 vmhgfs-fuse -o allow_other -o auto_unmount .host:/share ~/win10_share -o max_write=61440 其中 max_write 不加的话, 你复制 文件 阅读全文
posted @ 2022-11-09 11:12 ifnk 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 在我这台机器 只需将 tauri.conf.json 的 devPath 的 localhost 改成 127.0.0.1 即可 参考来源 https://github.com/tauri-apps/tauri/issues/1140 阅读全文
posted @ 2022-10-16 20:48 ifnk 阅读(275) 评论(0) 推荐(0) 编辑
摘要: html <div style={{ width: '478px', height: '361px', background: '#252a38', display: '-webkit-flex', display: 'flex', WebkitAlignItems: 'center', align 阅读全文
posted @ 2022-10-14 20:30 ifnk 阅读(93) 评论(0) 推荐(0) 编辑
摘要: zip -r ~/test.zip . -x "node_modules/*" 注意 -x 后面的引号不能缺 ,不然 忽略 不了 阅读全文
posted @ 2022-10-12 00:34 ifnk 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 代码如下 <div onClick={e=>{ e.stopPropagation(); }} /> 这样是能阻止冒泡的 ,e.stopPropagation(); 能正常 执行 但是下面 这样写 是不行的 <div onClick={async (e)=>{ let res = await xxx 阅读全文
posted @ 2022-10-08 21:09 ifnk 阅读(60) 评论(0) 推荐(0) 编辑
摘要: forEach 数组里面 forEach 如果带 await 的话,里面 是并行的 [1,2,3].forEach(async (x) => { await xxx(x) }) 这里面 1 2 3 是 会同时被 xxx 函数处理的 想要并行的话,得写成这样 for (const x of [1, 2 阅读全文
posted @ 2022-10-08 09:16 ifnk 阅读(693) 评论(0) 推荐(0) 编辑
摘要: 参考来源 https://stackoverflow.com/questions/31193418/html5-canvas-todataurl-returns-blank https://www.geeksforgeeks.org/how-to-crop-images-in-reactjs/ ht 阅读全文
posted @ 2022-09-30 15:01 ifnk 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页