mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-30 18:24:27 +01:00
fix: 🐛 Fix the mirror group bug
This commit is contained in:
parent
ae8a4f34df
commit
cd7d9cdd3c
@ -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"
|
||||
:key="item.value"
|
||||
:command="item.value"
|
||||
:title="item.title"
|
||||
>
|
||||
{{ item.label }}
|
||||
</el-dropdown-item>
|
||||
</template>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
|
Loading…
Reference in New Issue
Block a user