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