fix: 修复从数据统计模块下退出登录再重登会跳转404
This commit is contained in:
parent
956a8e8aa5
commit
aa981c8d5b
|
|
@ -36,7 +36,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
{
|
{
|
||||||
path: "index",
|
path: "index",
|
||||||
component: () => import("@/views/data/index.vue"),
|
component: () => import("@/views/data/index.vue"),
|
||||||
name: "dataStatistics",
|
name: "",
|
||||||
meta: {
|
meta: {
|
||||||
title: "数据统计",
|
title: "数据统计",
|
||||||
affix: false,
|
affix: false,
|
||||||
|
|
@ -45,7 +45,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "sales",
|
path: "sales",
|
||||||
name: "salesStatistics",
|
name: "",
|
||||||
component: () => import("@/views/data/sales.vue"),
|
component: () => import("@/views/data/sales.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "销售统计",
|
title: "销售统计",
|
||||||
|
|
@ -55,7 +55,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "table",
|
path: "table",
|
||||||
name: "tableStatistics",
|
name: "",
|
||||||
component: () => import("@/views/data/table.vue"),
|
component: () => import("@/views/data/table.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "桌台统计",
|
title: "桌台统计",
|
||||||
|
|
@ -65,7 +65,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "credit",
|
path: "credit",
|
||||||
name: "creditStatistics",
|
name: "",
|
||||||
component: () => import("@/views/data/credit/index.vue"),
|
component: () => import("@/views/data/credit/index.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "挂账管理",
|
title: "挂账管理",
|
||||||
|
|
@ -76,7 +76,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "credit-detail",
|
path: "credit-detail",
|
||||||
name: "creditDetail",
|
name: "",
|
||||||
component: () => import("@/views/data/credit/detail.vue"),
|
component: () => import("@/views/data/credit/detail.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "挂账明细",
|
title: "挂账明细",
|
||||||
|
|
@ -87,7 +87,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "work",
|
path: "work",
|
||||||
name: "workStatistics",
|
name: "",
|
||||||
component: () => import("@/views/data/work.vue"),
|
component: () => import("@/views/data/work.vue"),
|
||||||
meta: {
|
meta: {
|
||||||
title: "交班记录",
|
title: "交班记录",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue