refactor(docs): add spacing for switch example (#5092)

This commit is contained in:
云游君
2021-12-31 21:34:55 +08:00
committed by GitHub
parent 2f146e8624
commit 59759c9546
8 changed files with 14 additions and 17 deletions

View File

@ -1,6 +1,11 @@
<template>
<el-switch v-model="value1" />
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949" />
<el-switch
v-model="value2"
class="ml-2"
active-color="#13ce66"
inactive-color="#ff4949"
/>
</template>
<script lang="ts" setup>