Compare commits

..

No commits in common. "d95b421ff16c9fb317da867429075f40b1d0b423" and "1cc5f6bb0a2ef8a22699fc6b63bf549f1fc09520" have entirely different histories.

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-app2',
name: 'sub-app',
entry: VITE_APP_SUB_GAS,
activeRule: '/sub-app',
title: 'APP',
title: 'APP2',
icon: 'images/platform/icon-app.png',
},
{
@ -49,10 +49,10 @@ export const rightApps = [
icon: 'images/platform/icon-admin.png',
},
{
name: 'sub-app1',
name: 'sub-app',
entry: VITE_APP_SUB_GAS,
activeRule: '/sub-app',
title: 'APP',
title: 'APP1',
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.name == 'sub-app1') {
if (row.title == 'APP1') {
window.location.href = 'https://www.pgyer.com/MXd3uUrO';
} else if (row.name == 'sub-app2') {
} else if (row.title == 'APP2') {
window.location.href = 'https://www.pgyer.com/4SVVtpob';
} else {
window.location.href = row.activeRule;