lijh
2022-01-12 bf6fbec0b5593eb28dc195a58a4208d29b79dfee
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>