diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 022e270..31d7df2 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -63,7 +63,7 @@ export default { }).then(({ data }) => { this.menus = data if (data.length) { - if (!this.$route.query.id && this.$route.path !== '/column/result') this.$router.replace(`/column?id=${data[0].id}&siteId=${data[0].siteId}`) + if (!this.$route.query.id && !this.$route.query.articleId && this.$route.path !== '/column/result') this.$router.replace(`/column?id=${data[0].id}&siteId=${data[0].siteId}`) if (!this.active) this.active = data[0].id this.$nextTick(() => { const menu = document.querySelectorAll('.el-submenu') diff --git a/src/pages/exp/index.vue b/src/pages/exp/index.vue index 894e4ca..c5a6d43 100644 --- a/src/pages/exp/index.vue +++ b/src/pages/exp/index.vue @@ -13,8 +13,8 @@
EXPERIMENT STATIONS
+EXPERIMENT STATIONS