mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +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>
|