Skip to content

Commit 7927155

Browse files
committed
ready to pull down
1 parent 6cad4e0 commit 7927155

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/HomeSideDropDown.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,4 @@ export default {
137137
.input-container {
138138
margin-top: 1rem;
139139
}
140-
141140
</style>

src/components/Routes.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
v-for="route in Object.keys(routes)"
77
:key="route"
88
@click="handleClick(route)"
9+
v-on:keyup.delete="deleteRoute(route)"
910
>
1011
<!--
1112
<span class="panel-icon">
@@ -37,6 +38,10 @@ export default {
3738
...mapActions(['setActiveRoute']),
3839
handleClick (route) {
3940
this.setActiveRoute(route)
41+
},
42+
deleteRoute (route) {
43+
console.log('routes', route)
44+
console.log('this', this)
4045
}
4146
}
4247
}

0 commit comments

Comments
 (0)