inleft
2022-03-01 ec97e05d923dc7a343b16ddd5134f1dff8071051
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>