Skip to content

[bug]taro中input @update:model-value事件会触发两次 #1632

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

Closed
qq263402128 opened this issue Sep 5, 2022 · 1 comment
Closed

[bug]taro中input @update:model-value事件会触发两次 #1632

qq263402128 opened this issue Sep 5, 2022 · 1 comment
Assignees

Comments

@qq263402128
Copy link

问题描述

taro中input @update:model-value事件会触发两次

最小可复现仓库

请创建最小可复现代码,并上传到你的 GitHub 仓库

预期的行为和实际行为

复现步骤,具体代码

<nut-input
v-model="account"
@update:model-value="inputHandler"
/>
JS
const inputHandler = (val) => {
console.log(">>>>>>", val);
};

相关环境信息

  • 操作系统:win11
  • Node 版本:16.14.0
  • NutUI 版本: 3.1.8
  • Vue 版本:3.0.0
  • 引用方式: NPM
@ailululu ailululu reopened this Sep 21, 2022
@Drjingfubo Drjingfubo moved this from In Progress to Done in nutui-vue 社区任务列表 Nov 2, 2022
richard1015 pushed a commit that referenced this issue Nov 2, 2022
* feat: 发票组件+taro

* feat: 发票组件+taro

* fix: #1450将placeholder默认为空

* fix: 解决发票 radio类型的问题

* fix: navbar修改leftShow默认值

* fix: #1521navbar解决定不安全区域问题

* fix: 修改input taro demo文案

* fix: 修复taro中input@update:model-value事件会触发两次 #1632

* fix: 修复input组件的slot=input插槽报错,卡住页面 #1776
@Drjingfubo
Copy link
Contributor

3.2.6已发布

yangxiaolu1993 pushed a commit that referenced this issue Nov 29, 2022
* feat: 发票组件+taro

* feat: 发票组件+taro

* fix: #1450将placeholder默认为空

* fix: 解决发票 radio类型的问题

* fix: navbar修改leftShow默认值

* fix: #1521navbar解决定不安全区域问题

* fix: 修改input taro demo文案

* fix: 修复taro中input@update:model-value事件会触发两次 #1632

* fix: 修复input组件的slot=input插槽报错,卡住页面 #1776

* fix: input 问题修复

* feat: 地址组件优化
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants