Skip to content
New issue

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

[新功能需求] input 返回值调整 #787

Open
zhoubapi999 opened this issue Dec 16, 2024 · 0 comments
Open

[新功能需求] input 返回值调整 #787

zhoubapi999 opened this issue Dec 16, 2024 · 0 comments
Labels
feature: need confirm 待确认的新特性

Comments

@zhoubapi999
Copy link

zhoubapi999 commented Dec 16, 2024

这个功能解决了什么问题?

input type设置位number或者digit情况下,v-model的返回值能否返回为number形式。能够提交准确的参数形式给后端

你期望的 API 是什么样子的?

<wd-input
label="费用"
prop="fee"
v-model="fee"
type="digit"
placeholder="请输入费用"

当type为number或者digit时,此时fee的类型为number

@zhoubapi999 zhoubapi999 added the feature: need confirm 待确认的新特性 label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: need confirm 待确认的新特性
Projects
None yet
Development

No branches or pull requests

1 participant