diff --git a/gold-system/src/router/index.js b/gold-system/src/router/index.js index a41b5ca..819595c 100644 --- a/gold-system/src/router/index.js +++ b/gold-system/src/router/index.js @@ -12,7 +12,7 @@ const router = createRouter({ children: [ // 工作台 - { path: '/workspace', name: "workspace", component: () => import("../views/workspace/index.vue") }, + { path: '/workspace/:area?', name: "workspace", component: () => import("../views/workspace/index.vue") }, // 充值审核 { path: '/rechargeAudit', name: "rechargeAudit", component: () => import("../views/audit/rechargeAudit.vue") }, // 退款审核 diff --git a/gold-system/src/views/index.vue b/gold-system/src/views/index.vue index c3e7139..2d090cd 100644 --- a/gold-system/src/views/index.vue +++ b/gold-system/src/views/index.vue @@ -1,67 +1,85 @@