This commit is contained in:
weipengfei 2024-04-05 17:46:48 +08:00
parent 8b34814a90
commit 24728a6754
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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',