mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
20 lines
307 B
Vue
20 lines
307 B
Vue
|
<template>
|
||
|
<div class="slider-demo-block">
|
||
|
<el-slider v-model="value" show-input> </el-slider>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { ref, defineComponent } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
const value = ref(0)
|
||
|
|
||
|
return {
|
||
|
value,
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|