mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
24 lines
298 B
Vue
24 lines
298 B
Vue
|
<template>
|
||
|
<div class="block">
|
||
|
<el-slider
|
||
|
v-model="value"
|
||
|
range
|
||
|
show-stops
|
||
|
:max="10"
|
||
|
/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
export default {
|
||
|
setup() {
|
||
|
const value = ref([2, 5])
|
||
|
return {
|
||
|
value,
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
</script>
|