You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After modifying the input box in the component, the ![image](https://user-images.githubusercontent.com/19791710/127769506-02af8f46-694f-4169-92c0-e6f40a7115bb.png) parameter value is not updated in time (keep the last time always).
When modifying, the on-complete parameter value display parameter value will be the last modified value.
For example:
The default value is #000000FF, the first modification is #EED30AFF, and the on-complete parameter value is #000000FF.
The second modification is #E61010FF, and the on-complete parameter value is #EED30AFF.
Chinese (中文)
对组件中的输入框进行修改后,on-complete 参数 value 没有及时更新(依旧保持上一次的值)。
当在进行修改时,on-complete 参数 value 会是上一次修改的值。
例如:默认值为 #000000FF,第一次修改为 #EED30AFF,on-complete 参数 value 的值为 #000000FF。
第二次修改为 #E61010FF ,on-complete 参数 value 的值为 #EED30AFF。
Expected results (期望的结果)
the on-complete parameter value is should be updated in time
on-complete 参数 value 应当及时更新
Actual results (实际的结果)
the on-complete parameter value is not updated in time
on-complete 参数 value 没有及时更新
Remarks (补充说明)
The text was updated successfully, but these errors were encountered:
TuSimple/naive-ui version (版本)
2.15.11
Vue version (Vue 版本)
3.1.0
Browser and its version (浏览器及其版本)
Chrome(91.0.4472.77)
System and its version (系统及其版本)
MacOS(11.5.1)
Node version (Node 版本)
12.13.0
Reappearance link (重现链接)
https://codesandbox.io/s/naive-ui-color-picker-component-input-update-error-nl6mn?file=/src/Demo.vue
Reappearance steps (重现步骤)
English (英文)
After modifying the input box in the component, the
![image](https://user-images.githubusercontent.com/19791710/127769506-02af8f46-694f-4169-92c0-e6f40a7115bb.png)
parametervalue
is not updated in time (keep the last time always).When modifying, the
on-complete
parametervalue
display parameter value will be the last modified value.For example:
The default value is
#000000FF
, the first modification is#EED30AFF
, and theon-complete
parametervalue
is#000000FF
.The second modification is
#E61010FF
, and theon-complete
parametervalue
is#EED30AFF
.Chinese (中文)
对组件中的输入框进行修改后,
on-complete
参数value
没有及时更新(依旧保持上一次的值)。当在进行修改时,
on-complete
参数value
会是上一次修改的值。例如:默认值为
#000000FF
,第一次修改为#EED30AFF
,on-complete
参数value
的值为#000000FF
。第二次修改为
#E61010FF
,on-complete
参数value
的值为#EED30AFF
。Expected results (期望的结果)
the
on-complete
parametervalue
is should be updated in timeon-complete
参数value
应当及时更新Actual results (实际的结果)
the
on-complete
parametervalue
is not updated in timeon-complete
参数value
没有及时更新Remarks (补充说明)
The text was updated successfully, but these errors were encountered: