支付联调
This commit is contained in:
@@ -94,17 +94,17 @@
|
||||
if(KeyInfo.keyCode === 8 && this.keyIndex > -1){
|
||||
this.keyIndex--;
|
||||
}
|
||||
this.$emit('KeyInfo',KeyInfo);
|
||||
// 不是删除键
|
||||
if(KeyInfo.keyCode != 8){
|
||||
if(this.passwrdType == 'pay' && this.keyIndex >= 5){
|
||||
console.log('支付键盘');
|
||||
console.log(this.keyIndex,'支付键盘');
|
||||
if( this.keyIndex = 4){
|
||||
this.keyIndex = -1;
|
||||
return;
|
||||
}
|
||||
this.keyIndex++;
|
||||
}
|
||||
KeyInfo.index = this.keyIndex;
|
||||
this.$emit('KeyInfo',KeyInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user