This commit is contained in:
parent
8b34814a90
commit
24728a6754
|
@ -17,7 +17,7 @@ const navTo = (name) => {
|
|||
<el-icon size="30"><Sell /></el-icon>
|
||||
<div>收银</div>
|
||||
</div>
|
||||
<div class="list-item" :class="{'active': route.name=='order'}" @click="navTo('order')">
|
||||
<div class="list-item" :class="{'active': route.name=='orderList'}" @click="navTo('orderList')">
|
||||
<el-icon size="30"><DataLine /></el-icon>
|
||||
<div>订单</div>
|
||||
</div>
|
||||
|
|
|
@ -19,6 +19,11 @@ const routes = [
|
|||
path: '/order',
|
||||
name: 'order',
|
||||
component: () => import('@/views/order/index.vue'),
|
||||
},
|
||||
{
|
||||
path: '/orderList',
|
||||
name: 'orderList',
|
||||
component: () => import('@/views/order/indexList.vue'),
|
||||
},
|
||||
{
|
||||
path: '/shop',
|
||||
|
|
Loading…
Reference in New Issue