11 2022 档案
模块化,作用域的简介
摘要:什么是模块化 遵守固定规则,把大文件拆成独立又相互依赖的小模块 好处: 1.提高代码复用性 2.提高代码维护性 3.按需加载 不使用模块化会造成什么 不使用模块化,多人协作开发,会造成变量污染 模块的加载 module.export导出 require导入 ES6模块 完全取代CommonJs和
阅读全文
git 仓库提交时的报错
摘要: $ git commit -m 'Test' fatal: Unable to create 'D:/MyProject/.git/index.lock' : File exists. If no other git process is currently running, this prob
阅读全文