fix: 修复从数据统计模块下退出登录再重登会跳转404

This commit is contained in:
YeMingfei666 2025-03-20 09:04:00 +08:00
parent 956a8e8aa5
commit aa981c8d5b
1 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ export const constantRoutes: RouteRecordRaw[] = [
{
path: "index",
component: () => import("@/views/data/index.vue"),
name: "dataStatistics",
name: "",
meta: {
title: "数据统计",
affix: false,
@ -45,7 +45,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "sales",
name: "salesStatistics",
name: "",
component: () => import("@/views/data/sales.vue"),
meta: {
title: "销售统计",
@ -55,7 +55,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "table",
name: "tableStatistics",
name: "",
component: () => import("@/views/data/table.vue"),
meta: {
title: "桌台统计",
@ -65,7 +65,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "credit",
name: "creditStatistics",
name: "",
component: () => import("@/views/data/credit/index.vue"),
meta: {
title: "挂账管理",
@ -76,7 +76,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "credit-detail",
name: "creditDetail",
name: "",
component: () => import("@/views/data/credit/detail.vue"),
meta: {
title: "挂账明细",
@ -87,7 +87,7 @@ export const constantRoutes: RouteRecordRaw[] = [
},
{
path: "work",
name: "workStatistics",
name: "",
component: () => import("@/views/data/work.vue"),
meta: {
title: "交班记录",