- 博客(4)
- 收藏
- 关注
原创 解决electron报错:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer
我将在windows系统下开发的electron应用移到麒麟系统(Linux)后启动时报了这个错误:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer。
2023-11-17 10:50:51
1652
1
原创 关于监听hashchange没反应的问题
通过history.pushState();这种方式改变URL锚点的时候虽然location的hash也发生了改变,但是并不会触发hashchange事件,但是通过location.hash = *****;这种方式改变的时候hashchange是可以触发的。
2022-03-08 10:57:36
1915
原创 使用element-ui的时候报Uncaught TypeError: Cannot read properties of null (reading ‘disabled‘)错误的原因
今天使用elemen-ui的el-dropdown组件的时候报了这个错误,搞了半天才发现是因为我给用来触发这个组件显隐的dom元素添加了条件渲染。还有就是给每一个el-dropdown-item添加条件渲染的时候也会报这个错误...
2022-03-07 10:31:14
3502
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅