From 54f71407ad07301dd8c41c65936597cf9962f983 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 22 Mar 2022 22:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/xiushan/apps/AppNewsCenter/AppNewsCenter.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/xiushan/apps/AppNewsCenter/AppNewsCenter.vue b/project/xiushan/apps/AppNewsCenter/AppNewsCenter.vue index 1dcf84d0..d7675617 100644 --- a/project/xiushan/apps/AppNewsCenter/AppNewsCenter.vue +++ b/project/xiushan/apps/AppNewsCenter/AppNewsCenter.vue @@ -61,7 +61,9 @@ export default { return this.user.info.areaList?.length - 1 }, currentPage() { - return this.$route.hash?.substring(1) || newsList + return this.$route.hash == "#video" ? videoDetail : + this.$route.hash == "#news" ? newsDetail : + this.$route.hash?.substring(1) || newsList } }, methods: {