1,作用域槽需要使用template <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <child> <template slot-scope="props"> <h1>{{props.item}}</h1> </template> </child> </div> <script> Vue.component('child',{ data:function () { return { list:[1,2,3,4] } }, template:'<div>' + '' + '<slot v-for="item of list" :item="item"></slot>' + '' + '</div>' }) var app=new Vue({ el:"#app", data:{ content:'hello vue' } }) </script> </body> </html>