当前位置:网站首页>错误记录集锦(遇到则记下)
错误记录集锦(遇到则记下)
2022-08-05 05:24:00 【monkeyhlj】
错误记录集锦(遇到则记下)
1、解决React 的<img >src
使用require的方式图片显示不出来,展示的是[object Module]
的问题:https://www.cnblogs.com/qianxiaoniantianxin/p/14789826.html
2、css设置高度为浏览器100%高度:div { height:100vh; }
说明:vh是viewport height,单位是%,如果前面不是100而是1,就表示窗口高度的1%。据说所有浏览器都支持。
在antd项目中使用iconfont:https://www.jianshu.com/p/1b92c56a8879
3、react全局监听路由变化:https://cloud.tencent.com/developer/article/1345078
4、解决react+node后端跨域问题,node设置了也无效时,可配置react中的src/setProxy.js
文件:https://www.cnblogs.com/fightjianxian/p/12377882.html
5、结合antd做高度自适应:Content的style有个min-height属性
https://blog.csdn.net/qq_38735649/article/details/103610635
6、暴露配置时npm run eject
报错:https://www.jianshu.com/p/b7a7f15ae968
7、ESLint对a标签href
属性警告解决方法:https://blog.csdn.net/weixin_34029680/article/details/91434946
8、matplotlib的scatter绘制时自定义点大小:https://www.pianshen.com/article/7907281704/
9、github提交问题,8月13日过后不再支持密码验证解决方案:SSH免密与Token登录配置:https://cloud.tencent.com/developer/article/1861466
10、pip install tenserflow错误:https://segmentfault.com/a/1190000020368776
11、JavaScript中for in与for of的区别:https://www.cnblogs.com/zhilu/p/13856912.html
12、排列熵算法:https://www.pythonheidong.com/blog/article/724325/6c6fea46344c87fd568e/
13、PyEMD:https://github.com/laszukdawid/PyEMD
https://blog.csdn.net/weixin_43086050/article/details/108423996
https://blog.csdn.net/m0_57011532/article/details/115532756?utm_medium=distribute.pc_relevant.none-task-blog-2defaultBlogCommendFromBaidudefault-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2defaultBlogCommendFromBaidudefault-5.control
14、ssm整合时出现xml在build时没有被打包且出现错误com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.isClosed()Z is abstract
时,修改依赖版本:
<!--C3P0-->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.2</version>
</dependency>
且加上:这样就能找到java文件夹下的xml文件了。
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>*.xml</include>
<include>*.properties</include>
</includes>
</resource>
</resources>
15、解决SpringBoot没有favicon.ico报错:https://blog.csdn.net/weixin_47896156/article/details/111095908
16、springcloudalibaba中使用**@LoadBalanced注解进行负载均衡,报错No instances available for localhost**,见:https://blog.csdn.net/majinan3456/article/details/99352894
17、vue引入scss文件或者less文件,报错 this.getOptions is not a function:https://blog.csdn.net/weixin_44953689/article/details/115618451
18、iview关于menu结合router问题:https://blog.csdn.net/weixin_30530939/article/details/99096500
19、https://blog.csdn.net/weixin_40929147/article/details/84586656
20、prophet安装问题:https://www.jianshu.com/p/0c06ad7bccaa?appinstall=0
21、.npy文件的打开方式:
import numpy as np
test = np.load(r'./datasets/pred.npy')
print(test)
22、TreeMap相关自定义排序:https://www.cnblogs.com/xubiao/p/5803976.html
23、anaconda创建虚拟环境并加入jupyter的kernel中:https://blog.csdn.net/qq_44184049/article/details/121911689
24、centos的ens在ifconfig时无IP地址显示:https://blog.csdn.net/qq_23689053/article/details/110204329
25、虚拟机网络配置:https://blog.csdn.net/qq_41311691/article/details/124377318
边栏推荐
- What?CDN cache acceleration only works for accelerating static content?
- 媒体查询、rem移动端适配
- product learning materials
- DisabledDate date picker datePicker
- Tencent greetings function SCF - entry instructions
- 实力卷王LinkSLA,实现运维工程师快乐摸鱼
- 7步完成云上监控
- sql server 重复值在后面计数
- NAT experiment
- What should I do if the SSL certificate prompts that it is expired or invalid?
猜你喜欢
Mina's long and short connections
network issue?Service packet loss?This is enough
OpenCV3.0 is compatible with VS2010 and VS2013
RAID磁盘阵列
有哪些事情是你做了运维才知道的?
Mongodb查询分析器解析
From "dual card dual standby" to "dual communication", vivo took the lead in promoting the implementation of the DSDA architecture
selenium学习
In-depth Zabbix user guide - from the green boy
Mina disconnects and reconnects
随机推荐
H5 的浏览器存储
User and user group management, file permission management
spark operator-parallelize operator
time complexity and space complexity
[issue resolved] - jenkins pipeline checkout timeout
Network wiring and digital-to-system conversion
[问题已处理]-虚拟机报错contains a file system with errors check forced
VLAN is introduced with the experiment
What's the point of monitoring the involution of the system?
selenium学习
VRRP principle and command
sql server duplicate values are counted after
NAT实验
What are some things that you only know when you do operation and maintenance?
Browser Storage WebStorage
The problem come from line screening process
入职前,没想到他们玩的这么花
Mina断线重连
Technology Sharing Miscellaneous Technologies
[Problem has been resolved]-Virtual machine error contains a file system with errors check forced