This commit is contained in:
13713575202 2025-05-27 09:40:19 +08:00
parent c0a4e5ba42
commit 20e36a0f5a
2 changed files with 6 additions and 6 deletions

View File

@ -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',
},
{

View File

@ -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;