From 7c40a85242984dd3aafc13cee7839fabc83b8612 Mon Sep 17 00:00:00 2001 From: 13713575202 <1345916905@qq.com> Date: Tue, 27 May 2025 09:32:12 +0800 Subject: [PATCH] xiabin --- main/src/micro/app.js | 4 ++-- main/src/views/index.vue | 8 +++++++- new-digital-agriculture-screen/components.d.ts | 1 - sub-operation-service/components.d.ts | 1 - 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/main/src/micro/app.js b/main/src/micro/app.js index 9e29066..d0af37c 100644 --- a/main/src/micro/app.js +++ b/main/src/micro/app.js @@ -21,7 +21,7 @@ export const leftApps = [ name: 'sub-app', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', - title: 'APP', + title: 'APP2', icon: 'images/platform/icon-app.png', }, { @@ -52,7 +52,7 @@ export const rightApps = [ name: 'sub-app', entry: VITE_APP_SUB_GAS, activeRule: '/sub-app', - title: 'APP', + title: 'APP1', icon: 'images/platform/icon-app.png', }, { diff --git a/main/src/views/index.vue b/main/src/views/index.vue index fd39627..558f472 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.title == 'APP1') { + window.location.href = 'https://www.pgyer.com/MXd3uUrO'; + } else if (row.title == 'APP2') { + window.location.href = 'https://www.pgyer.com/4SVVtpob'; + } else { + window.location.href = row.activeRule; + } };