replace el-switch with Switch component

This commit is contained in:
pa
2026-01-07 21:02:13 +09:00
committed by Natsumi
parent cf2469698c
commit 483ed97b22
14 changed files with 90 additions and 44 deletions

View File

@@ -7,12 +7,14 @@
></TooltipWrapper>
</div>
<el-switch class="switch" :model-value="value" @change="change" :disabled="disabled"></el-switch>
<Switch class="switch" :model-value="value" @update:modelValue="change" :disabled="disabled" />
</div>
</template>
<script setup>
import { InfoFilled } from '@element-plus/icons-vue';
import { Switch } from '../../../components/ui/switch';
defineProps({
label: String,
value: Boolean,