From 20e36a0f5aeef8b7a4c7b36cb62e72a3c0cd1116 Mon Sep 17 00:00:00 2001 From: 13713575202 <1345916905@qq.com> Date: Tue, 27 May 2025 09:40:19 +0800 Subject: [PATCH] xiabin --- main/src/micro/app.js | 8 ++++---- main/src/views/index.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main/src/micro/app.js b/main/src/micro/app.js index d0af37c..09a389f 100644 --- a/main/src/micro/app.js +++ b/main/src/micro/app.js @@ -18,10 +18,10 @@ export const leftApps = [ icon: 'images/platform/icon-admin.png', }, { - name: 'sub-app', + name: 'sub-app2', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', - title: 'APP2', + title: 'APP', icon: 'images/platform/icon-app.png', }, { @@ -49,10 +49,10 @@ export const rightApps = [ icon: 'images/platform/icon-admin.png', }, { - name: 'sub-app', + name: 'sub-app1', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', - title: 'APP1', + title: 'APP', icon: 'images/platform/icon-app.png', }, { diff --git a/main/src/views/index.vue b/main/src/views/index.vue index 558f472..d2557a2 100644 --- a/main/src/views/index.vue +++ b/main/src/views/index.vue @@ -36,9 +36,9 @@ import { getAssetsFile } from '@/utils'; const gotoPage = (row) => { // window.history.pushState({}, row.name, row.activeRule); - if (row.title == 'APP1') { + if (row.name == 'sub-app1') { window.location.href = 'https://www.pgyer.com/MXd3uUrO'; - } else if (row.title == 'APP2') { + } else if (row.name == 'sub-app2') { window.location.href = 'https://www.pgyer.com/4SVVtpob'; } else { window.location.href = row.activeRule;