demo2.vue 258 B

12345678910
  1. <template>
  2. <m-switch v-model="switchVal1" disabled></m-switch>
  3. <m-switch v-model="switchVal2" disabled class="pl-10"></m-switch>
  4. </template>
  5. <script setup>
  6. import { ref } from "vue";
  7. const switchVal1 = ref(true);
  8. const switchVal2 = ref(false);
  9. </script>