![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
es
闲敲棋子落画画
这个作者很懒,什么都没留下…
展开
-
【es】-Array.prototype.flat(),将数组拉平成一个一维数组
<template> <div class="home"> 1111111111111 </div></template><script>export default { created(){ console.log(this.mapFun()); }, data(){ return{ word:[{name:"1",age:"12"},{name:"2",age:"15"},{name:.原创 2021-10-01 23:44:13 · 230 阅读 · 0 评论 -
【es】map方法
1.map 初级用法<template> <div class="home"> 1111111111111 </div></template><script>export default { created(){ console.log(this.mapFun()); }, data(){ return{ word:[1,2,3,4] } }, methods:{ .原创 2021-10-01 23:19:26 · 693 阅读 · 0 评论