diff --git a/src/article/Index.vue b/src/article/Index.vue index 143a4a9..ccb406d 100644 --- a/src/article/Index.vue +++ b/src/article/Index.vue @@ -1,8 +1,16 @@ @@ -11,8 +19,39 @@ import Vue from 'vue' export default Vue.extend({ name: 'Article', + data() { + return { + article:{ + author: { + avatar: 'http://img1.3lian.com/gif/more/11/2012/03/d037a77443c0a72a1432d815cd3b5724.jpg', + nickname: '昵称' + }, + title: '什么是协程(goroutine),它们是怎样作的呢?', + description: '这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述这是描述', + like: 6, + comments: 10, + id: 12, + cover: '' + } + } + } }) diff --git a/src/doc/Index.vue b/src/doc/Index.vue index 0713489..048e1f9 100644 --- a/src/doc/Index.vue +++ b/src/doc/Index.vue @@ -1,5 +1,5 @@