diff --git a/main/src/micro/app.js b/main/src/micro/app.js index 9e29066..09a389f 100644 --- a/main/src/micro/app.js +++ b/main/src/micro/app.js @@ -18,7 +18,7 @@ export const leftApps = [ icon: 'images/platform/icon-admin.png', }, { - name: 'sub-app', + name: 'sub-app2', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', title: 'APP', @@ -49,7 +49,7 @@ export const rightApps = [ icon: 'images/platform/icon-admin.png', }, { - name: 'sub-app', + name: 'sub-app1', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', title: 'APP', diff --git a/main/src/views/index.vue b/main/src/views/index.vue index fd39627..d2557a2 100644 --- a/main/src/views/index.vue +++ b/main/src/views/index.vue @@ -36,7 +36,13 @@ import { getAssetsFile } from '@/utils'; const gotoPage = (row) => { // window.history.pushState({}, row.name, row.activeRule); - window.location.href = row.activeRule; + if (row.name == 'sub-app1') { + window.location.href = 'https://www.pgyer.com/MXd3uUrO'; + } else if (row.name == 'sub-app2') { + window.location.href = 'https://www.pgyer.com/4SVVtpob'; + } else { + window.location.href = row.activeRule; + } };