Skip to content

Commit

Permalink
fix: 🐛 Fix the mirror group bug
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Sep 16, 2024
1 parent ae8a4f3 commit cd7d9cd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/components/Device/components/ControlBar/Synergy/index.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<template>
<el-dropdown :disabled="loading" @command="handleCommand">
<slot :loading />
<el-dropdown @command="handleCommand">
<div class="">
<slot v-bind="{ loading }" />
</div>

<template #dropdown>
<el-dropdown-menu>
<template v-if="!loading">
<el-dropdown-item
v-for="item of options"
:key="item"
:command="item.value"
:title="item.title"
>
{{ item.label }}
</el-dropdown-item>
</template>
<el-dropdown-item
v-for="item of options"
:key="item.value"
:command="item.value"
:title="item.title"
>
{{ item.label }}
</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
Expand Down

0 comments on commit cd7d9cd

Please sign in to comment.