1.安装依赖npm install --save-dev stylelint stylelint-scss stylelint-config-standard stylelint-csstree-validator stylelint-config-prettier 2.安装插件stylelint ...
分类:
其他好文 时间:
2021-04-27 14:36:39
阅读次数:
0
使用vue_cli生成项目 引入ant-design-vue 使用cnpm引入ant-design-vue cnpm install ant-design-vue --save cnpm install antd-init -g 修改main.js加入依赖 在文件中全局引入 //引入ant-desi ...
分类:
其他好文 时间:
2021-04-27 14:35:37
阅读次数:
0
for..in loops iterate over the entire prototype chain, which is virtually never what you want. 意思是使用for..in会遍历整个原型链,这样不是很好的实现方法,推荐使用Object.keys formRu ...
分类:
其他好文 时间:
2021-04-27 14:24:47
阅读次数:
0
# CentOS7 rm -f /etc/yum.repos.d/*.repo curl -L "http://mirrors.163.com/.help/CentOS7-Base-163.repo" -o /etc/yum.repos.d/CentOS7-Base-163.repo curl -L ...
分类:
其他好文 时间:
2021-04-27 14:17:29
阅读次数:
0
c++(虚析构,解决多态时析构函数没有调用子类析构,到时释放不干净) //普通析构 是不会调用子类的析构,所以可能导致释放不干净 //父类的虚析构 virtual ~Animal() { cout<<"Base 析构函数调用了"<<endl; } //纯虚析构,需要实现,类内声明,类外实现 virt ...
分类:
编程语言 时间:
2021-04-26 13:53:43
阅读次数:
0
1、安装 Homebrew, $/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh 命令输入后出现报错:curl: (7) Failed to connect ...
分类:
数据库 时间:
2021-04-26 13:47:29
阅读次数:
0
借助mmocr框架,测试几种算法的效果。 这是一个文字检测和文字识别库,集成了很多的模型,包括PSENet、PixelLink等等 安装参考 https://mmocr.readthedocs.io/en/latest/install.html (base) xuehp@haomeiya009:~/ ...
分类:
Web程序 时间:
2021-04-26 13:44:18
阅读次数:
0
今天,我将介绍一个第三方模块plyer中的弹窗提醒功能。 国际惯例上管网 https://pypi.org/project/plyer/1.2.4/ 1.安装plyer 在Windows系统中,打开cmd命令提示符,输入: pip install plyer1 如果没有报错,则新建一个Python文 ...
MAC升级Nodejs和Npm到最新版 MAC升级Nodejs和Npm到最新版第一步,先查看本机node.js版本:node -v第二步,清除node.js的cache:sudo npm cache clean -f第三步,安装 n 工具,这个工具是专门用来管理node.js版本的,别怀疑这个工具的 ...
分类:
Web程序 时间:
2021-04-26 13:13:19
阅读次数:
0
网上有很多教程安装requests,当我根据教程中进行安装时,出现了很多问题,在下方进行罗列 1.不要直接cmd进行pip install requests,多半都有错,很有可能安不到你对应的地方,此时应该找到python文件夹下的Script文件夹再进行cmd 2.就算直接找到了Script文件夹 ...
分类:
其他好文 时间:
2021-04-26 13:09:42
阅读次数:
0