支付宝优化更新
This commit is contained in:
@@ -82,7 +82,12 @@
|
||||
//处理按键
|
||||
_handleKeyPress(e) {
|
||||
// console.log('点击传e', e.target.dataset.num);
|
||||
// #ifdef MP-WEIXIN
|
||||
let num = e.target.dataset.num;
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
let num = e.target.targetDataset.num;
|
||||
// #endif
|
||||
//不同按键处理逻辑
|
||||
// -1 代表无效按键,直接返回
|
||||
if (num == -1) return false;
|
||||
@@ -154,6 +159,7 @@
|
||||
// this.money = S + num;
|
||||
// }
|
||||
// }
|
||||
console.log(num)
|
||||
if (this.money.length == 6) {
|
||||
this.$emit('confirmEvent', this.money); //提交参数
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user