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