feat: FE calendar, context menu, dashboard
This commit is contained in:
parent
ca005ebb0b
commit
b389f37a1d
6 changed files with 123 additions and 84 deletions
|
@ -4,7 +4,7 @@ import {menuEntryWithAction, menuEntryWithChildren} from "@models/misc/contextMe
|
|||
|
||||
import {type PropType} from 'vue';
|
||||
|
||||
const emit = defineEmits(['click']);
|
||||
const emit = defineEmits(['contextMenuAction']);
|
||||
|
||||
const props = defineProps({
|
||||
top: {
|
||||
|
@ -19,7 +19,7 @@ const props = defineProps({
|
|||
});
|
||||
|
||||
function triggerAction(item: string) {
|
||||
console.log(item);
|
||||
emit('contextMenuAction', item);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue