From c007150566688c9cda80c7aecd784c9300dfab36 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期三, 20 十一月 2024 14:26:30 +0800 Subject: [PATCH] 提交代码 --- src/router/route.ts | 22 +++------------------- 1 files changed, 3 insertions(+), 19 deletions(-) diff --git a/src/router/route.ts b/src/router/route.ts index cfc185a..391b276 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -27,6 +27,8 @@ isIframe?: boolean; roles?: string[]; icon?: string; + showTitle?: boolean; + showBack?:boolean } } @@ -81,22 +83,4 @@ * @description 鍓嶇鎺у埗鐩存帴鏀� dynamicRoutes 涓殑璺敱锛屽悗绔帶鍒朵笉闇�瑕佷慨鏀癸紝璇锋眰鎺ュ彛璺敱鏁版嵁鏃讹紝浼氳鐩� dynamicRoutes 绗竴涓《绾� children 鐨勫唴瀹癸紙鍏ㄥ睆锛屼笉鍖呭惈 layout 涓殑璺敱鍑哄彛锛� * @returns 杩斿洖璺敱鑿滃崟鏁版嵁 */ -export const staticRoutes: Array<RouteRecordRaw> = [ - { - path: '/login', - name: 'login', - // 涓嶅悓杞欢缂栫爜浣跨敤涓嶅悓鐨勭櫥褰曢〉 - component: () => { - switch (window.globalConfig.Auth.SoftWareCode) { - case 'CH_web': - return import('/@/views/login/index_ch.vue'); - - default: - return import('/@/views/login/index_ch.vue'); - } - }, - meta: { - title: '鐧诲綍', - }, - }, -]; +export const staticRoutes: Array<RouteRecordRaw> = []; -- Gitblit v1.9.3