小记1
1.npm i -g newman
newman run hetao-console.postman_collection.json --environment hetao-console.postman_environment.json -r html
2.mac 卡住
command+option+esc
3.cross-env
"dev": "cross-env PORT=10080 BROWSER=none HOST=0.0.0.0 roadhog server",
4,aliplayer
4005 视频读取下载错误
https://player.alicdn.com/aliplayer/index.html
小记2
1,nvm 不要使用brew安装,推荐使用
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
编辑.bash_profile文件,没有的话就新建一个,命令都是:
vi .bash_profile
然后将以下代码复制进去,保存退出
export NVM_DIR="HOME/.nvm" [ -s "NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" 1 2 然后 source 一下 .bash_profile
source .bash_profile
https://blog.csdn.net/zjuwwj/article/details/72805671
2.mac 下用 brew 安装mongodb
http://yijiebuyi.com/blog/b6a3f4a726b9c0454e28156dcc96c342.html
小记3
1,访问判断
2,api请求异常分支的处理
3,v-dom list中的key
4,try catch保护
5,魔法数字类问题
网友评论