게시판 첨부파일 드롭다운 수정
This commit is contained in:
parent
64241132ab
commit
d59f296733
@ -13,7 +13,7 @@
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li v-for="(item, index) in dropdownItems" :key="index">
|
||||
<a class="dropdown-item" href="javascript:void(0);" @click="dropClick(item.action)">
|
||||
<a class="dropdown-item" href="javascript:void(0);">
|
||||
{{ item.label }}
|
||||
</a>
|
||||
</li>
|
||||
@ -53,10 +53,6 @@ defineProps({
|
||||
},
|
||||
});
|
||||
|
||||
const emit = defineEmits(['dropdown-click']);
|
||||
const dropClick = (action) => {
|
||||
emit('dropdown-click', action);
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user