slider - save

This commit is contained in:
halo
2021-12-26 11:13:15 +08:00
parent 0d6a30d93d
commit 8b0f2c3d99
2 changed files with 25 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div class="layui-slider-vertical" v-if="vertical">
<div v-if="range">rang div</div>
<div
v-else
ref="verticaltracker"
@mousedown.stop="handle_mousedown"
class="layui-slider-vertical-track"
@@ -59,6 +62,7 @@ interface LaySliderProps {
max?: number;
step?: number;
disabled?: boolean;
range?: boolean;
}
const props = withDefaults(defineProps<LaySliderProps>(), {