iview-project icon indicating copy to clipboard operation
iview-project copied to clipboard

表格中render Input-number 点击无反应

Open lhf1990729 opened this issue 7 years ago • 0 comments

render: (h, params) => {
                       return h('div', [
                           h('Input-number', {
                               props: {
                                   type: 'primary',
                                   size: 'small',
                                   min:1,
                                   max:9
                               },
                               style: {
                                   marginRight: '5px'
                               },
                               on: {
                                   click: () => {
                                      //  this.show(params.index)
                                      alert(1);
                                   }
                               }
                           }, '')
                       ]);
                   }

可以成功显示,但是点击无任何反应!!

lhf1990729 avatar May 22 '17 10:05 lhf1990729