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;