loading.vue 232 B

1234567891011
  1. <template>
  2. <el-switch v-model="value1" loading />
  3. <el-switch v-model="value2" loading class="ml-2" />
  4. </template>
  5. <script lang="ts" setup>
  6. import { ref } from 'vue'
  7. const value1 = ref(true)
  8. const value2 = ref(false)
  9. </script>