From 7d9a179671de7c94463f80c1700c99983924d430 Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Mon, 25 Nov 2019 16:59:20 +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/index.vue | 109 +++++++++++++++++++++++++++++++++++++++++--------- src/router.js | 2 +- 2 files changed, 90 insertions(+), 21 deletions(-) diff --git a/src/index.vue b/src/index.vue index caedf73..5125b64 100644 --- a/src/index.vue +++ b/src/index.vue @@ -1,35 +1,97 @@ @@ -37,7 +99,14 @@ export default { name: "index", data() { - return {}; + return { + show:false + }; + }, + methods:{ + isshow(){ + this.show = !this.show + } } }; \ No newline at end of file diff --git a/src/router.js b/src/router.js index 4d4b855..9d83633 100644 --- a/src/router.js +++ b/src/router.js @@ -15,7 +15,7 @@ const router=new Router({ component: index }, { - path: '/ IndexArticleDetaill', + path: '/IndexArticleDetaill', component: IndexArticleDetail }, {