diff --git a/main/src/micro/app.js b/main/src/micro/app.js index 36f7b87..9e29066 100644 --- a/main/src/micro/app.js +++ b/main/src/micro/app.js @@ -61,7 +61,7 @@ export const rightApps = [ // entry: VITE_APP_SUB_GSS, entry: VITE_APP_SUB_GSR, // activeRule: '/sub-government-screen-service', - activeRule: '/new-digital-agriculture-screen/v2/land', + activeRule: '/new-digital-agriculture-screen', title: '数据大屏', icon: 'images/platform/icon-screen.png', }, diff --git a/main/src/views/index.vue b/main/src/views/index.vue index 0a8688b..fd39627 100644 --- a/main/src/views/index.vue +++ b/main/src/views/index.vue @@ -35,9 +35,8 @@ import { leftApps, rightApps } from '@/micro/app'; import { getAssetsFile } from '@/utils'; const gotoPage = (row) => { - console.log(row); - console.log(window.history.pushState({}, row.name, row.activeRule)); - window.history.pushState({}, row.name, row.activeRule); + // window.history.pushState({}, row.name, row.activeRule); + window.location.href = row.activeRule; }; +