inleft
2022-01-14 56a4b88b16b5f86a2a697018a3e2546d3abf73e3
commit | author | age
bf6fbe 1 <script>
L 2     import MyComponent from "../test1/parent1.vue"
3
4     export default {
5         name: "xx",
6
7         render: function(createElement) {
8             var h = this.$createElement
9             var test = {
10                 props: {
11                     articleList: ['红楼梦', '西记', '三国演']
12                 }
13             }
14             return ( < MyComponent {
15                     ...test
16                 } > < /MyComponent>)
17
18             }
19         };
20 </script>