inleft
2024-05-18 57e3bead08715d72efaeffe90fafa179b8366473
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>