mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-15 03:06:25 +08:00
14 lines
266 B
Vue
14 lines
266 B
Vue
<template>
|
|
<el-switch
|
|
v-model="value1"
|
|
:active-action-icon="View"
|
|
:inactive-action-icon="Hide"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import { Hide, View } from '@element-plus/icons-vue'
|
|
const value1 = ref(true)
|
|
</script>
|