08 2020 档案

摘要:1 运行npm run eject报错 报错的意思就是你没提交改动不能run eject git add . git commit -m "init" 就可以了! 2 运行npm run start报错(There might be a problem with the project depend 阅读全文
posted @ 2020-08-30 08:07 阿臻 阅读(1689) 评论(0) 推荐(0) 编辑
摘要:父组件代码部分 <template> <div class="home"> <HelloWorld ref="hello" :msg="count" @helloEmit="sayHello" /> </div> </template> <script> export default { setup 阅读全文
posted @ 2020-08-12 12:03 阿臻 阅读(4484) 评论(0) 推荐(1) 编辑
摘要:将map转为object const map = new Map([ [1, 1], [2, 3] ]) map.set("kkk", "xiaokk") function createObj(map) { const obj = new Object(); map.forEach((item, k 阅读全文
posted @ 2020-08-12 10:48 阿臻 阅读(1634) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示