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
This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem
TuSimple/naive-ui version (版本)
2.34.4
Vue version (Vue 版本)
3.3.4
Browser and its version (浏览器及其版本)
114.0.5735.110(正式版本) (64 位)
System and its version (系统及其版本)
win11
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/friendly-wildflower-m78wyr?file=/src/Demo.vue:36-45
Reappearance steps (重现步骤)
1.The tag sets min="-10"(any negative number || any number < 0)
2. slide the slider
3.An error occurred.
Expected results (期望的结果)
Show negative numbers for sliding.
This tag should support negative numbers.3Q
Actual results (实际的结果)
an error occurs.
TypeError
newValue.toFixed is not a function
getRoundValue
https://m78wyr.csb.app/node_modules/naive-ui/es/slider/src/Slider.js:249:30
sanitizeValue
https://m78wyr.csb.app/node_modules/naive-ui/es/slider/src/Slider.js:229:28
handleRailMouseDown
https://m78wyr.csb.app/node_modules/naive-ui/es/slider/src/Slider.js:328:25
at callWithErrorHandling (https://m78wyr.csb.app/node_modules/
vue/runtime-core/dist/runtime-core.esm-bundler.js:999:18
at callWithAsyncErrorHandling (https://m78wyr.csb.app/node_modules/
vue/runtime-core/dist/runtime-core.esm-bundler.js:1007:17
at HTMLDivElement.invoker (https://m78wyr.csb.app/node_modules/
vue/runtime-dom/dist/runtime-dom.esm-bundler.js:408:62
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: