feat(customer vue): 주문화면으로 이동
- 매장 화면에서 주문화면으로 이동하는 기능
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
<router-view
|
||||
v-on:getStoreId="renderNavigation">
|
||||
</router-view>
|
||||
<div align="right" >
|
||||
<v-btn
|
||||
color="primary"
|
||||
dark
|
||||
right
|
||||
fab
|
||||
@click="toOrder"
|
||||
>
|
||||
<v-icon>mdi-basket</v-icon>
|
||||
</v-btn>
|
||||
</div>
|
||||
</v-container>
|
||||
</v-main>
|
||||
<bottom-navigation></bottom-navigation>
|
||||
@@ -45,6 +56,11 @@ export default {
|
||||
|
||||
const response = await storeApi.requestStore(this.store.id);
|
||||
this.store = response.data.data;
|
||||
},
|
||||
toOrder(){
|
||||
if(confirm("주문화면으로 이동할까요?")){
|
||||
this.$router.replace("/order")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user