We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, @xxyan0205 现在组件中的数字键盘点击支付按钮后默认就隐藏了键盘,源码如下:
mand-mobile/components/number-keyboard/index.vue
Lines 111 to 113 in 4ec9452
但是我想在这个方法之前做些事情不想让它自动隐藏却做不到,能否让用户决定隐藏与否?
<md-number-keyboard @confirm="handleConfirm"/>
export default { ... methods: { handleConfirm () { if (!this.number) return // 这里无法return this.$emit('number:confirm') } }
The text was updated successfully, but these errors were encountered:
谢谢关注。@hide 和 @confirm 两个事件最终都会走到 handleHide() 方法,导致无法区分来源(来自 hide 操作还是 confirm 操作)业务逻辑无法处理。
@hide
@confirm
handleHide()
hide
confirm
Sorry, something went wrong.
xxyan0205
No branches or pull requests
Hi, @xxyan0205 现在组件中的数字键盘点击支付按钮后默认就隐藏了键盘,源码如下:
mand-mobile/components/number-keyboard/index.vue
Lines 111 to 113 in 4ec9452
但是我想在这个方法之前做些事情不想让它自动隐藏却做不到,能否让用户决定隐藏与否?
The text was updated successfully, but these errors were encountered: