mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
refactor(components): [slider] remove useless code (#11681)
This commit is contained in:
@@ -32,7 +32,6 @@ export const useWatch = (
|
||||
const setValues = () => {
|
||||
if (props.min > props.max) {
|
||||
throwError('Slider', 'min should not be greater than max.')
|
||||
return
|
||||
}
|
||||
const val = props.modelValue
|
||||
if (props.range && Array.isArray(val)) {
|
||||
|
||||
Reference in New Issue
Block a user