mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 18:11:48 +08:00
22 lines
312 B
Vue
22 lines
312 B
Vue
<template>
|
|
<div>
|
|
<el-segmented v-model="value" :options="options" block />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const value = ref('Mon')
|
|
|
|
const options = [
|
|
'Mon',
|
|
'Tue',
|
|
'Wed',
|
|
'Thu',
|
|
'Fri',
|
|
'Sat',
|
|
'Sunday long long long long long long long',
|
|
]
|
|
</script>
|