[エッセイ]uni-ap@input傍受入力@blurトリガフォーカス喪失イベント追加転送
3945 ワード
<input type="digit" placeholder=" " @input="inputAmount($event,index,item,'S')" @blur="Listeningfocus('S',index)" v-model="item.sutotal" />
//
inputAmount(e,index,item,type){
var that = this
if(type == 'S') {
this.$set(this.circulationMoneyList[index],'sutotal',e.detail.value)
}
},
//
Listeningfocus(type,index){
if(type == 'S'){
this.circulationMoneyList[index].denomination = xxx;
}
}