chore: adjust code

This commit is contained in:
chenjiahan
2020-09-04 15:33:35 +08:00
parent 82ac453910
commit 3c415c42d0
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -151,12 +151,12 @@ export default createComponent({
const renderButton = () => (
<div
role="slider"
class={bem('button-wrapper')}
tabindex={props.disabled ? -1 : 0}
aria-valuemin={props.min}
aria-valuenow={props.modelValue}
aria-valuemax={props.max}
aria-orientation={props.vertical ? 'vertical' : 'horizontal'}
class={bem('button-wrapper')}
onTouchstart={onTouchStart}
onTouchmove={onTouchMove}
onTouchend={onTouchEnd}