From 07907a65daef5f8b624a8b081eebe6fbc1abcbb5 Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期二, 16 一月 2024 20:23:42 +0800 Subject: [PATCH] update --- src/container/home/index.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/container/home/index.vue b/src/container/home/index.vue index d08b296..7cae30b 100644 --- a/src/container/home/index.vue +++ b/src/container/home/index.vue @@ -99,7 +99,8 @@ id: 6, children: [ { - label: '鎶ヨ〃鐢熸垚1' + label: '璁捐鍣�', + href: '/mdc/ureport/designer' }, { label: '鎶ヨ〃鐢熸垚1' @@ -134,8 +135,8 @@ pathName: 'deviceType' }, { - label: '鏈哄簥缁存姢', - pathName: 'devicemaintenance' + label: '鏈哄簥閲囬泦', + pathName: 'machineList' } ] }, @@ -165,8 +166,10 @@ if(item.pathName) { this.$router.push({name: item.pathName,params: item.params,query: item.query}) } - } else {//浜岀骇鑿滃崟 + } else if(item.pathName){//浜岀骇鑿滃崟 this.$router.push({name: item.pathName,params: item.params,query: item.query}) + } else if(item.href) { + window.open(item.href) } }, }, -- Gitblit v1.9.3