错误记录集锦(遇到则记下)
錯誤記錄集錦(遇到則記下)
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時,修改依賴版本:
且加上:這樣就能找到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文件的打開方式:
22、TreeMap相關自定義排序:https://www.cnblogs.com/xubiao/p/5803976.html
總結
以上是生活随笔為你收集整理的错误记录集锦(遇到则记下)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Transformer详细解读与预测实例
- 下一篇: LeetCode练习及自己理解记录(1)