After acquiring the digital value input box iview value change InputNumber

First, explain

Event name Explanation return value
on-change Callback value is changed, the current value of the return The current value

 

 

 

 

Second, the code

 {
          title: '退保数量',
          key: 'reinsuranceNum',
          align: 'center',
          render: (h, params) => {
            return h('div', [
              h('InputNumber', {
                props: {
                  type: 'primary',
                  size: 'small',
                  value: 1,
                  min: 0,
                  max: 10,
                },
                ON: {
                  'Change-ON': E => { // eslint-Line-disable 
                   the console.log (E); // E value is the value after the change InputNumber 
                  } 
                } 
              }), 
            ]); 
          } 
        },

 

Guess you like

Origin www.cnblogs.com/wangyuxue/p/12028386.html