mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
12 lines
232 B
Vue
12 lines
232 B
Vue
<template>
|
|
<el-switch v-model="value1" loading />
|
|
<el-switch v-model="value2" loading class="ml-2" />
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
|
|
const value1 = ref(true)
|
|
const value2 = ref(false)
|
|
</script>
|