diff --git a/src/components/Iconify/index.vue b/src/components/Iconify/index.vue index 4570001..26d8fb7 100644 --- a/src/components/Iconify/index.vue +++ b/src/components/Iconify/index.vue @@ -25,9 +25,19 @@ props.color ? { color: props.color } : {}, ); }); + + const emit = defineEmits(['click']); + const onClick = () => { + emit('click'); + }; diff --git a/src/components/Navbar/index.vue b/src/components/Navbar/index.vue index 475b968..cc5ed6d 100644 --- a/src/components/Navbar/index.vue +++ b/src/components/Navbar/index.vue @@ -1,9 +1,15 @@