摘要: Failed to execute 'importScripts' on 'WorkerGlobalScope' 出现情况是在iOS开启debugger,安卓没事 解决:关闭我电脑的vpn就可以了 阅读全文
posted @ 2021-12-07 11:12 虎太郎的小肚腩 阅读(965) 评论(0) 推荐(0) 编辑
摘要: react native跑不起来报错 fsevents` unavailable (this watcher can only be used on Darwin) 解决方案 npm r -g watchman brew install watchman 跑 brew install watchma 阅读全文
posted @ 2021-07-23 18:50 虎太郎的小肚腩 阅读(496) 评论(0) 推荐(0) 编辑
摘要: gitlab 阅读全文
posted @ 2021-07-20 15:29 虎太郎的小肚腩 阅读(926) 评论(0) 推荐(0) 编辑
摘要: 面试题 function fun(n,o){ console.log(o); return { fun:function(m){ return fun(m,n); } }; } var a = fun(0);a.fun(1);a.fun(2);a.fun(3); var b = fun(0).fun 阅读全文
posted @ 2021-07-15 15:40 虎太郎的小肚腩 阅读(418) 评论(0) 推荐(0) 编辑
摘要: post请求的坑 参考资料链接: https://blog.csdn.net/csdn_yudong/article/details/79668655 https://blog.csdn.net/yiifaa/article/details/75451723 https://blog.csdn.ne 阅读全文
posted @ 2021-07-15 15:37 虎太郎的小肚腩 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 我还是一个react的初学者,一直写vue,在学的过程中突然想起react能不能动态加载,结果好像都要自己实现,vue的路由可以用()=>import(url), react 好像没有,然后在网上看了些大佬的资料,结合之后自己项目里面实现的思路,如有什么错误,请评论区指正哈,我好改进 1.实际的组件 阅读全文
posted @ 2021-07-15 15:21 虎太郎的小肚腩 阅读(2690) 评论(0) 推荐(0) 编辑
摘要: function a1() { return new Promise(o => { console.log("a1") o('a1_1') }) } async function a2() { const _a2 = await a1() console.log(_a2); console.log( 阅读全文
posted @ 2021-06-25 19:34 虎太郎的小肚腩 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 场景1:拉取git项目里面的子仓库,直接执行下面这一句 git submodule update --init --recursive 场景2:从远程仓库克隆 git clone 场景3:创建并切换分支将代码提交到新建的分支 git checkout -b 新版本号 等价于 git branch 新 阅读全文
posted @ 2021-06-18 17:04 虎太郎的小肚腩 阅读(29) 评论(0) 推荐(0) 编辑
摘要: warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via U 阅读全文
posted @ 2021-06-11 10:44 虎太郎的小肚腩 阅读(4814) 评论(0) 推荐(0) 编辑
摘要: 找了很多资料,最后我自己用的如下 tree /a >list.txt 使用,新建个txt,把上面那段代码直接复制进去,保存,改文件后缀为bat保存,执行,搞定 参考链接如下 https://blog.csdn.net/qq_27127385/article/details/105805816 htt 阅读全文
posted @ 2021-04-26 13:50 虎太郎的小肚腩 阅读(337) 评论(0) 推荐(0) 编辑