Open likailun101929 opened 1 year ago
只使用 input 是否正常?能触发 get 或者 set 吗?
只使用input是不是正常?能触发get或者set吗?
能触发 就是输入框回显不对 就像是双向绑定失效一样;因为我处理了最多显示两位小数,所以输入框应该也显示1.33 结果显示了1.33333333
能触发,那在 set 中处理过后的数据是否符合预期?
能触发,那在set中处理过后的数据是否符合预期?
这张图打印的set get 的值 都是正常的 这张图是其他地方使用这个变量 也是符合预期的
就是输入框的显示有问题 我输入多少就显示多少
能触发,那在 set 中处理过后的数据是否符合预期? 这是vue 中的表现 主要代码是一样的
相同的问题,蹲一个解决方案
相同问题
问题描述 通过customRef 实现数字输入框 最多输入两位小数 vue3+uniapp+vite+ts项目中使用 customRef时input 输入框双向绑定失效!!! 输入显示还是改动之前的数据
复现步骤
预期结果 输入框能双向绑定
实际结果
系统信息: