xiabin
This commit is contained in:
parent
c0a4e5ba42
commit
20e36a0f5a
@ -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',
|
||||
},
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user