From a37eb1e014fccfdb5c3a2f2f4d629ef95e109c03 Mon Sep 17 00:00:00 2001 From: x_ying <2438792676@qq.com> Date: Thu, 22 Sep 2022 16:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 82238df..51502e5 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -17,15 +17,15 @@

图书检索

-
  • +
  • 热门图书

  • -
  • +
  • 作者推荐

  • -
  • +
  • 数字资源

  • @@ -43,7 +43,7 @@

    本架图书

    - 更多 + 更多
    @@ -56,7 +56,7 @@

    新书推荐

    - 更多 + 更多
    @@ -89,20 +89,8 @@ export default { }, methods: { - toCurrentRackMore() { - this.$router.push('/CurrentRackBook') - }, - toNewBook() { - this.$router.push('/NewBook') - }, - toHotBook() { - this.$router.push('/HotBook') - }, - toAuthor() { - this.$router.push('/AuthorRecommend') - }, - toDigital() { - this.$router.push('/DigitalResource') + toPath(path) { + this.$router.push(path) } } }