2020年11月10日
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> 阅读全文
posted @ 2020-11-10 11:33 写最骚的代码 阅读(1461) 评论(0) 推荐(0)
  2020年8月10日
摘要: 1.安装vue环境创建项目,注册npm账号 npm install -g @vue/cli vue create my-component https://www.npmjs.com/signup //npm账号注册地址 npm add user//或者命令行注册,按照提示依次输入 注:请注意你的n 阅读全文
posted @ 2020-08-10 16:04 写最骚的代码 阅读(698) 评论(0) 推荐(0)
摘要: sudo rm -rf node_modules package-lock.json && npm install 阅读全文
posted @ 2020-08-10 14:45 写最骚的代码 阅读(569) 评论(0) 推荐(0)
  2020年8月7日
摘要: let number = 2323234355.99; function f(num){ const reg = /\B(?=(\d{3})+$)/g, n = num.toString().split('.'); return `${n[0].replace(reg, ',')}.${n[1]}` 阅读全文
posted @ 2020-08-07 11:59 写最骚的代码 阅读(230) 评论(0) 推荐(0)
摘要: 我的电脑是2018款mackbookPro出现的这种情况 在配备 T2 芯片的电脑上重置 SMC 配备 T2 芯片的笔记本电脑 重置 SMC 之前,请尝试以下步骤: 将 Mac 关机。 按住电源按钮 10 秒钟,然后松开这个按钮。 等待几秒钟,然后按下电源按钮以将 Mac 开机。 如果问题仍然存在, 阅读全文
posted @ 2020-08-07 10:24 写最骚的代码 阅读(2126) 评论(0) 推荐(0)
  2020年8月6日
摘要: let objArr = [{ questionAnswer: "喜欢", AnswerKey: "C" }, { questionAnswer: "不喜欢", AnswerKey: "A" }, { questionAnswer: "非常喜欢", AnswerKey: "D" }, { quest 阅读全文
posted @ 2020-08-06 14:58 写最骚的代码 阅读(272) 评论(0) 推荐(0)
  2020年7月28日
摘要: 第一步: xcode-select --install 报错: xcode-select: error: command line tools are already installed, use "Software Update" to install updates 第二步: sudo rm - 阅读全文
posted @ 2020-07-28 09:54 写最骚的代码 阅读(3104) 评论(0) 推荐(1)
  2020年7月23日
摘要: vue项目运行出错: Error: Missing binding my-world/node_modules/node-sass/vendor/darwin-x64-72/binding.node Node Sass could not find a binding for your curren 阅读全文
posted @ 2020-07-23 15:10 写最骚的代码 阅读(1776) 评论(0) 推荐(0)
  2020年7月8日
摘要: <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> // 下面这行和上面的script一起使用 获取真实IP地址 document.write(returnCityS 阅读全文
posted @ 2020-07-08 14:26 写最骚的代码 阅读(28802) 评论(0) 推荐(0)
  2020年4月3日
摘要: 1.下载远程仓库1 git clone 远程仓库地址 2.下载远程仓库2 git remote add mySecond + 第二个远程仓库地址 3.把mySecond远程仓库数据拉取到本地 git fetch mySecond 4.在本地创建local分支并拉取mySecond代码到local,自 阅读全文
posted @ 2020-04-03 10:00 写最骚的代码 阅读(8148) 评论(0) 推荐(1)