uni-number-box [digital input box component], change event custom parameters

key code:@change="(value)=>{twobindChange(item,value)}"

<uni-number-box :min="1" :value="item.num" @change="(value)=>{twobindChange(item,value)}" />


<script>
	//数量选择
	twobindChange(item, value) {
      
      
		console.log('返回数值:', item, value);
	}
</script>

insert image description here

Guess you like

Origin blog.csdn.net/weixin_48596030/article/details/131332468