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 }, {