会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
剑气纵横六百里,一剑寒光耀九洲。
博主擅长javaScript、vue、react、react-native、css、uni-app、node.js、html、android、ios、c#、.net Core、.net Framework 、SQL等单词的拼写,能熟练运用Ctrl+C 、Ctrl+V。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
44
下一页
2023年3月6日
js 计算精度处理
摘要: // 加 function accAdd(arg1, arg2) { var r1, r2, m; try { r1 = arg1.toString().split(".")[1].length; } catch (e) { r1 = 0; } try { r2 = arg2.toString().
阅读全文
posted @ 2023-03-06 15:46 龙卷风吹毁停车场
阅读(42)
评论(0)
推荐(0)
2023年2月28日
ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
摘要: 将 hotOnly: true 改为 hot: 'only'
阅读全文
posted @ 2023-02-28 17:37 龙卷风吹毁停车场
阅读(41)
评论(0)
推荐(0)
2023年2月22日
创建 vue+vite 项目
摘要: 搭建第一个 Vite 项目 npm npm create vite@latest yarn yarn create vite 然后按照提示操作即可! 你还可以通过附加的命令行选项直接指定项目名称和你想要使用的模板。例如,要构建一个 Vite + Vue 项目,运行: # npm 6.x npm cr
阅读全文
posted @ 2023-02-22 16:15 龙卷风吹毁停车场
阅读(60)
评论(0)
推荐(0)
2023年1月18日
git 报错 fatal: unable to access 'http://git.c521....../': Send failure: Connection was reset
摘要: 一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错。控制台输入: git config --global http.sslVerify "false" 重新执行git操作
阅读全文
posted @ 2023-01-18 19:02 龙卷风吹毁停车场
阅读(276)
评论(0)
推荐(0)
git 报错 fatal: unable to access 'http://git.c5......./': Recv failure: Connection was reset
摘要: 控制台输入git命令: git config --global --unset http.proxy git config --global --unset https.proxy 以管理员打开cmd窗口输入 ipconfig/flushdns 然后从新执行git操作
阅读全文
posted @ 2023-01-18 19:01 龙卷风吹毁停车场
阅读(524)
评论(0)
推荐(0)
git 推送报 fatal: unable to access 'http://git.c521h.................../': Empty reply from server
摘要: 1.如果您为 VPN 配置了代理,则需要登录到您的 VPN 才能使用代理。 2.要在 VPN 之外使用它,请使用 unset 命令: git config --global --unset http.proxy git config --global --unset https.proxy 参考:
阅读全文
posted @ 2023-01-18 10:02 龙卷风吹毁停车场
阅读(576)
评论(0)
推荐(0)
2022年12月28日
vue 使用 antv/g2
摘要: 效果: 安装: npm install @antv/g2 --save 引入: import { Chart } from '@antv/g2'; 使用: <div id="c1"></div> LeftChart() { const chart = new Chart({ container: '
阅读全文
posted @ 2022-12-28 16:48 龙卷风吹毁停车场
阅读(811)
评论(0)
推荐(0)
2022年12月12日
react-native 类函数式监听路由变化,页面每次显示执行方法
摘要: 在 componentDidMount 函数中添加 this.props.navigation.addListener('focus', () => { alert(2) });
阅读全文
posted @ 2022-12-12 15:06 龙卷风吹毁停车场
阅读(330)
评论(0)
推荐(0)
2022年12月9日
react-native 使用路由传递参数
摘要: navigation.navigate('home', { activeFilterTab: 'posted' }) //传递的对象{ activeFilterTab: 'posted' } 接收方: route.paeams.activeFilterTab 就行
阅读全文
posted @ 2022-12-09 18:06 龙卷风吹毁停车场
阅读(95)
评论(0)
推荐(0)
2022年12月2日
swiper 滚动时出现半屏,错乱
摘要: this.mySwiper = new Swiper('.swiper-container', { direction: 'vertical', initialSlide : 0 , //设定初始化时slide的索引。 mousewheel: true, //开启鼠标滚动切换 height: win
阅读全文
posted @ 2022-12-02 16:08 龙卷风吹毁停车场
阅读(400)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
44
下一页
公告