Skip to content
Snippets Groups Projects
Commit 71744548 authored by KimDoHyun's avatar KimDoHyun
Browse files

수정본

parent 6b9f0a05
No related branches found
No related tags found
No related merge requests found
Pipeline #4041 failed
...@@ -47,9 +47,10 @@ ...@@ -47,9 +47,10 @@
</v-list-item-content> </v-list-item-content>
</v-list-item> </v-list-item>
<!--동아리 메뉴--> <!--동아리 메뉴-->
<v-menu offset-x v-if="isLogin === true"> <div v-if="isLogin === true">
<v-menu offset-x v-for="(club, index) in clubs" :key="index">
<template v-slot:activator="{ on }"> <template v-slot:activator="{ on }">
<v-list-item v-for="(club, index) in clubs" :key="index"> <v-list-item>
<v-btn v-on="on" block style="margin-bottom:15px">{{club.club}}</v-btn> <v-btn v-on="on" block style="margin-bottom:15px">{{club.club}}</v-btn>
</v-list-item> </v-list-item>
</template> </template>
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
</v-list-item> </v-list-item>
</v-list> </v-list>
</v-menu> </v-menu>
</div>
</v-list> </v-list>
</v-navigation-drawer> </v-navigation-drawer>
...@@ -98,7 +100,11 @@ import {mapState} from "vuex" ...@@ -98,7 +100,11 @@ import {mapState} from "vuex"
drawer: null, drawer: null,
clubs:[ clubs:[
{id:1, club:'club1'}, {id:1, club:'club1'},
{id:2, club:'club2'} {id:2, club:'club2'},
{id:3, club:'club3'},
{id:4, club:'club4'},
{id:5, club:'club5'},
{id:6, club:'club6'}
] ]
}), }),
computed:{ computed:{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment