最近在运行项目的时候报了一个React.memo is not a function, 报错类似如下 D:\myCode\myProject\node_modules\testPackage\index.js:22 })(React.momo(testPackage)); TypeError: Re ...
分类:
其他好文 时间:
2020-07-10 09:27:46
阅读次数:
52
1 HelloVuex.vuex 1 <template> 2 <div>HelloVuex 3 <button @click="ClickSetHandler">Vuex SET</button> 4 <button @click="ClickGetHandler">Vuex GET</butto ...
分类:
其他好文 时间:
2020-07-09 16:42:57
阅读次数:
79
一、查看哪些IP连接本机 netstat -an 二、查看TCP连接数 1)统计80端口连接数netstat -nat|grep -i "80"|wc -l 2)统计httpd协议连接数ps -ef|grep httpd|wc -l 3)、统计已连接上的,状态为“establishednetstat ...
分类:
其他好文 时间:
2020-07-08 13:34:40
阅读次数:
122
1.什么是伪静态?为什么要实现伪静态?伪静态:动态网页通过重写URL的方法实现去掉动态网页的参数,但在实际的网页目录中并没有必要实现存在重写的页面。 例如:我们当访问地址http://*/2529259.html时,你会认为在站点服务器下存在名为2529259.html文件,其实实际上它可能是不存在 ...
分类:
Web程序 时间:
2020-07-06 19:58:49
阅读次数:
63
默认把styleExt改成less或者scss { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { " ...
分类:
其他好文 时间:
2020-07-06 12:37:10
阅读次数:
126
1 为什么要使用模块 当应用变得复杂时,store对象就会变得相当臃肿,为了解决这个问题,可以将store分割成模块(module)。而每个模块拥有自己的store mutation action getter等 2 代码 2.1 分割模块与定义模块 src\store\index.js modul ...
分类:
其他好文 时间:
2020-07-06 01:19:48
阅读次数:
64
打包方法:1、执行npm install vsce -g --save vsce,安装vsce命令。2、修改工程中的错误,有任何错误都不能完成打包(将Blob类型改成any)。3、删除node_modules文件夹,执行npm install4、执行vsce package 安装包方法: 点击左侧的 ...
分类:
其他好文 时间:
2020-07-05 21:16:52
阅读次数:
131
[Git 中文开发手册git instaweb (Administration) - Git 中文开发手册命名git-instaweb - 立即在gitweb中浏览你的工作仓库概要git instaweb [--local] [--httpd=] [--port=] [--browser=]git ... ...
分类:
Web程序 时间:
2020-07-05 13:49:56
阅读次数:
123
仅罗列出常用的模块,更多模块请到ansible官方查看 https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html 一、命令模块 1 ping模块 主要用于判断远程客户端是否在线 格式: ansible 主机组名 ...
分类:
其他好文 时间:
2020-07-05 13:47:01
阅读次数:
96
1、下载地址 这里 2、下载exe安装程序,然后再进行默认安装 3、进入安装目录下,生成jre,以版本14为例生成的命令是 bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre 如果发生错误,cmd需要以管 ...
分类:
编程语言 时间:
2020-07-05 00:18:28
阅读次数:
92