- 博客(98)
- 收藏
- 关注
原创 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create
1.Pinia报错是说已经在使用pinia了,但是没有安装pinia, (大多数时候我们已经在代码里面安装了pinia,但是为什么会报错呢)应该编写在setup里面,或者组件方法里面(调用时机不正确)分析一下白屏的原因,可以观察到js stack 栈异常信息。打开app-service.js查看5442行第15个字符。2.让我们继续排查堆栈错误,看是哪里引起的错误。分析代码,找到源码位置。
2024-12-23 12:50:17
824
原创 keil 5. Flash Timeout. Reset the Target and try it again.
Flash Timeout. Reset the Target and try it again.
2024-11-30 20:24:37
382
原创 Keil 5, Flash Timeout. Reset the Target and try it again.
Flash Timeout. Reset the Target and try it again.
2024-11-30 20:19:52
255
原创 C语言浮点数存储
浮点数采用IEEE32位标准浮点数格式(标准C语言格式),长度为32bits,存储格式为四个字节,格式如下表所示。浮点数值=(1+2^21×2^-23)×2^(129-127)=1.25*2^2=1.25*4=5.0;若阶码为E,尾数为M,则有:浮点数值=±(1+M×2^23)×2^(E-127)浮点数的正负取决于符号位S的值,S=1表示浮点数为负,S=0则表示浮点数为正。发送时按符号位及阶码、尾数高位、尾数中位和尾数低位的先后顺序发送4个字节。例如:当32位浮点数为40H,A0H,00H,00H时,
2024-07-23 14:02:04
288
原创 OrangePI 片上外设开启配置
由于批量开发板烧写镜像之后,sudo orangepi-config手动配置外设开启比较麻烦,可能会遗漏。overlays 配置要开启的片上外设。所以采取修改启动环境。
2024-06-06 09:45:27
489
1
原创 vue3 JSON editor 基于vanilla-jsoneditor
【代码】vue3 JSON editor 基于vanilla-jsoneditor。
2024-05-29 10:48:02
456
原创 element-plus el-table summary render
【代码】element-plus el-table summary 添加样式。
2024-02-27 16:01:40
220
原创 js Byte KB MB GB TB 单位转换
/*** byteSize number required* opt {} options* startUnit BYTE* use like this * conversion(1024*1024*1024) =>1GB* conversion(1024*1024*1024,{endUnit:"GB"}) =>1024*1024GB* conversion(1024*1024*1024,{startUnit:"KB"}) =>1TB* conversion(10.
2024-01-12 14:21:04
893
1
转载 应用关闭后TCP server端口仍然被占用
socket服务器开发中的SO_REUSEADDR选项与让人心烦的TIME_WAIT_51CTO博客_socket reuseaddr
2023-12-08 09:08:14
182
原创 debian linux系统部署python可执行文件
【代码】debian linux系统部署python可执行文件, 此方案适用于桌面应用(QT)。
2023-11-29 10:44:41
536
原创 ant design vue 1.x switch 扩展
ant design vue 1.x switch 支持checkedValue unCheckedValue
2023-04-14 16:20:04
272
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人