From 4155db0c1a376d9e61ea0cf411bb8d6e1b1127b5 Mon Sep 17 00:00:00 2001 From: Jere Cui Date: Mon, 5 Oct 2020 15:50:45 +0800 Subject: [PATCH] :recycle: Change the hamburger custom event name to kebab-case. --- src/components/Hamburger/index.vue | 2 +- src/layout/components/Navbar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 368b0021..aec798a3 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -24,7 +24,7 @@ export default { }, methods: { toggleClick() { - this.$emit('toggleClick') + this.$emit('toggle-click') } } } diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 37bc1e69..d3f55e52 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,6 +1,6 @@