mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-12 01:40:52 +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"
|
||||
: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>
|
||||
|
Loading…
Reference in New Issue
Block a user