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

[Bug Report] Steppervalue 不支持双向绑定吗? #5888

Open
GF-Huang opened this issue Sep 10, 2024 · 0 comments
Open

[Bug Report] Steppervalue 不支持双向绑定吗? #5888

GF-Huang opened this issue Sep 10, 2024 · 0 comments

Comments

@GF-Huang
Copy link

重现链接

无。

Vant Weapp 版本

1.11.6

描述一下你遇到的问题。

尝试过 <van-stepper model:value="{{quantity}}" bind:confirm="confirm" /> 无效。

Page({
    data: { quantity: 1 },
    confirm() { console.log(this.data.quantity); } // 界面上改变 stepper 的值之后,依然打印 `1`。
})

重现步骤

如上所述。

设备/浏览器

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant