在 Vue.JS 项目中执行 npm run build 没想到出现了这个错误 (node:18692) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Objec ...
分类:
其他好文 时间:
2021-02-18 13:05:49
阅读次数:
0
nvidia-smiFailed to initialize NVML: Driver/library version mismatch 原因:NVIDIA 内核驱动版本与系统驱动不一致, # sudo rmmod nvidiarmmod: ERROR: Module nvidia is in us ...
分类:
其他好文 时间:
2021-02-17 14:55:41
阅读次数:
0
swiper6和swiper5所需文件所在目录不一样。(懒得截屏说明了,有兴趣的小伙伴可以去试试,图仅展示两个版本的区别)。 本次使用vs cod 中install swiper@5.4.5,会按照swiper6的目录去找文件,会报找不到某个文件的error。 ...
分类:
其他好文 时间:
2021-02-17 14:38:07
阅读次数:
0
问题 在进行python环境配置的时候,发现以下问题: 解决 更新setuptools和pip ...
分类:
编程语言 时间:
2021-02-17 14:34:33
阅读次数:
0
一眼二分。 注意点: 在读入n之后要使用getchar接收后面的换行符,否则会使for循环内的getline读入这个换行符,导致第一个字符串读取错误。 最后输出答案前要先check一遍 const int N=110; string a[N]; string suffix; int n; bool ...
分类:
其他好文 时间:
2021-02-17 14:18:36
阅读次数:
0
试除法求约数。 int check(int n) { int res=1; for(int i=2;i*i<=n;i++) if(n % i == 0) { res+=i; if(i != n/i) res+=n/i; } return res; } int main() { vector<int> ...
分类:
其他好文 时间:
2021-02-17 14:12:57
阅读次数:
0
工作区: 就是git仓库的目录就属于工作区 [root@node4 git]# pwd/git[root@node4 git]# lsreadme.txt[root@node4 git]# ls -a. .. .git readme.txt[root@node4 git]# cd .git/[roo ...
分类:
其他好文 时间:
2021-02-16 12:34:56
阅读次数:
0
要使用ShowPane,而不要使用普通的ShowWindow void CMainFrame::OnViewPropWnd() { // TODO: 在此添加命令处理程序代码 if (!m_wndProperties.IsVisible()) m_wndProperties.ShowPane(TRU ...
分类:
其他好文 时间:
2021-02-16 12:16:01
阅读次数:
0
使用namedtuple方法可以代替手动生成一个类 # Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a class manually: >>> from collections ...
分类:
编程语言 时间:
2021-02-16 12:02:48
阅读次数:
0
基础 axios.get('/user?ID=12345') .then(function (response) { // 成功 console.log(response); }) .catch(function (error) { // 失败 console.log(error); }) .the ...
分类:
移动开发 时间:
2021-02-15 12:39:12
阅读次数:
0