iview render的时候可以写控件的基本格式
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                iview render的时候可以写控件的基本格式
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                
                            
                            
                            render: (h, params) => { return h('div', [ h('Button', { props: { type: 'id', size: 'small'}, style: { marginRight: '5px'}, on: { click: () => { this.pojectshow(this.datatable[params.index].id)}}}, '詳情'), h('Button', { props: { type: 'id', size: 'small'}, style: { marginRight: '5px'}, on: { click: () => { this.pojectshow(this.datatable[params.index].id)}}}, '看板'), h('div', { props: { type: 'id', size: 'small'}, style: { marginRight: '5px', color: 'red'}, on: { click: () => { this.pojectshow(this.datatable[params.index].id)}}}, '測試' + this.datatable[params.index].id)
])}
                        
                        
                        ])}
總結
以上是生活随笔為你收集整理的iview render的时候可以写控件的基本格式的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: yum 来安装 nodejs
- 下一篇: Axios的Vue插件(添加全局请求/响
