ADOU-V

导航

2022年7月22日 #

js 设备判断

摘要: /** * 是否为mac系统(包含iphone手机) * */ var isMac = function() { return /macintosh|mac os x/i.test(navigator.userAgent); }(); /** * 是否为windows系统 * */ var isWi 阅读全文

posted @ 2022-07-22 10:14 a-dou 阅读(60) 评论(0) 推荐(0)

vscode 配置 vue 文件 html 代码一行显示

摘要: { "workbench.iconTheme": "material-icon-theme", "files.associations": {}, "explorer.fileNesting.patterns": { "*.ts": "${capture}.js", "*.js": "${captu 阅读全文

posted @ 2022-07-22 10:11 a-dou 阅读(986) 评论(0) 推荐(1)

mac 下 nvm 安装

摘要: 参考:https://github.com/nvm-sh/nvm#installing-and-updating 说明:用于解决包依赖不兼容,导致还原包报错,提示node版本过高或过低 / 当前某个包不兼容当前node,需要降低node版本或升级node版本! // 安装 nvm1、curl -o- 阅读全文

posted @ 2022-07-22 09:49 a-dou 阅读(3311) 评论(0) 推荐(1)