2024年1月30日
摘要: 1.Object.keys() : 返回对象可枚举属性组成的数据 2.Object.values() :返回对象可枚举的属性的属性值,组成的数据 let person = { name: '小李', age: '15', } console.log(Object.keys(person)); // 阅读全文
posted @ 2024-01-30 15:45 Steven_YF 阅读(54) 评论(0) 推荐(0) 编辑
摘要: node : v18.19.0 npm : v10.2.3 已安装:yarn node : v17.7.2 npm : v8.5.2 已安装:@vue/cli 5.0.8 node : v16.20.2 npm : 8.19.4 已安装:@vue/cli 4.5.6 阅读全文
posted @ 2024-01-30 14:49 Steven_YF 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 清空缓存 npm cache clean --force 2.设置新淘宝镜像 npm config set registry https://registry.npmmirror.com/ 3.查看npm镜像 npm config get registry 阅读全文
posted @ 2024-01-30 13:00 Steven_YF 阅读(299) 评论(0) 推荐(0) 编辑