mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-14 18:11:48 +08:00
17 lines
353 B
Vue
17 lines
353 B
Vue
<template>
|
|
<el-switch v-model="value1">
|
|
<template #active-action>
|
|
<span class="custom-active-action">T</span>
|
|
</template>
|
|
<template #inactive-action>
|
|
<span class="custom-inactive-action">F</span>
|
|
</template>
|
|
</el-switch>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
|
|
const value1 = ref(true)
|
|
</script>
|