import BasicNumber from '../../basic/number' import { useFormInput } from '@cip/components/hooks/form-input' import { formInputProps, fromInputEmits } from '../../form-input-props' import { useRange } from './use-range' import './index.less' export default { props: formInputProps, emits: [...fromInputEmits], setup (props, context) { const { width, securityConfig, proxyValue, proxyOtherValue } = useFormInput(props, context, { maxOtherKey: 1 }) const { min, max, joint } = useRange(props) // range组件下放values会导致otherValue被modelValue覆盖掉 const { modelValue, otherValue, values, ...otherProps } = props return () =>
{joint.value}
} }