mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
--fix 权限名单
This commit is contained in:
20
src/components/common/DropDown.vue
Normal file
20
src/components/common/DropDown.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div className="tableSelect" style="margin-left: 0">
|
||||
<a-select :value="value" dropdownClassName="tabledropdown">
|
||||
<template :key="index" v-for="(item, index) in $slots.default()">
|
||||
<a-select-option v-if="item.children!=='v-if'" :value="index">
|
||||
<component :is="item"></component>
|
||||
</a-select-option>
|
||||
</template>
|
||||
</a-select>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import {defineProps} from "vue";
|
||||
defineProps({
|
||||
value: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user