mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
17 lines
281 B
Vue
17 lines
281 B
Vue
|
<template>
|
||
|
<el-switch v-model="value1" />
|
||
|
<el-switch
|
||
|
v-model="value2"
|
||
|
class="ml-2"
|
||
|
active-color="#13ce66"
|
||
|
inactive-color="#ff4949"
|
||
|
/>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup>
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
const value1 = ref(true)
|
||
|
const value2 = ref(true)
|
||
|
</script>
|