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>
|
<template>
|
||||||
<el-dropdown :disabled="loading" @command="handleCommand">
|
<el-dropdown @command="handleCommand">
|
||||||
<slot :loading />
|
<div class="">
|
||||||
|
<slot v-bind="{ loading }" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu>
|
<el-dropdown-menu>
|
||||||
<template v-if="!loading">
|
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
v-for="item of options"
|
v-for="item of options"
|
||||||
:key="item"
|
:key="item.value"
|
||||||
:command="item.value"
|
:command="item.value"
|
||||||
:title="item.title"
|
:title="item.title"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</template>
|
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
Loading…
Reference in New Issue
Block a user