From e69474ab591306dba8fa08d234ffc76ac492a5db Mon Sep 17 00:00:00 2001 From: zprobot <1727697083@qq.com> Date: Thu, 4 Apr 2024 19:46:57 +0800 Subject: [PATCH] update: link --- src/components/AeShow/index.vue | 4 +-- src/layout/Menu/index.vue | 2 +- src/router/index.js | 6 ++-- src/views/home/index.vue | 2 +- src/views/overview/index.vue | 51 +++------------------------------ 5 files changed, 11 insertions(+), 54 deletions(-) diff --git a/src/components/AeShow/index.vue b/src/components/AeShow/index.vue index ba6b9a2..a9e5329 100644 --- a/src/components/AeShow/index.vue +++ b/src/components/AeShow/index.vue @@ -132,7 +132,7 @@ const getProteinTable = async () => { const handleClose = (tag) => { dataHistory.value.splice(proteinTags.value.indexOf(tag), 1) proteinTags.value.splice(proteinTags.value.indexOf(tag), 1) - routerName.value ==='tissues' ? router.push({ path: "/ae/tissues", query: { protein: tags.value } }) : router.push({ path: "/ae/cellline", query: { protein: tags.value} }) + routerName.value ==='tissues' ? router.push({ path: "/baseline/tissues", query: { protein: tags.value } }) : router.push({ path: "/baseline/cellline", query: { protein: tags.value} }) } // qeury const queryProtein = (input) => { @@ -165,7 +165,7 @@ const queryProtein = (input) => { } }) if (proteinTags.value.length != input.value.length) { - routerName.value ==='tissues' ? router.push({ path: "/ae/tissues", query: { protein: tags.value } }) : router.push({ path: "/ae/cellline", query: { protein: tags.value } }) + routerName.value ==='tissues' ? router.push({ path: "/baseline/tissues", query: { protein: tags.value } }) : router.push({ path: "/baseline/cellline", query: { protein: tags.value } }) //router.push({ path: "/ae/tissues", query: { protein: proteinTags.value } }) } else { showImg.value = true diff --git a/src/layout/Menu/index.vue b/src/layout/Menu/index.vue index 6a2d55f..1280c20 100644 --- a/src/layout/Menu/index.vue +++ b/src/layout/Menu/index.vue @@ -17,7 +17,7 @@