From 432c2e505a908feef0db3fb2358c3894e97f23cb Mon Sep 17 00:00:00 2001 From: destinygu Date: Thu, 10 Aug 2017 01:27:14 +0800 Subject: [PATCH] resolve the bug 'Computed property topicsList was assigned to but it has no setter',add :key='index',... --- src/pages/Topics.vue | 86 ++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/src/pages/Topics.vue b/src/pages/Topics.vue index 952cc2b..be216d7 100644 --- a/src/pages/Topics.vue +++ b/src/pages/Topics.vue @@ -4,19 +4,19 @@ -
-
- +
+
+
{{item.author.loginname}} - {{item.last_reply_at | formatDate}} + {{item.last_reply_at | formatDate}}
置顶
@@ -42,7 +42,7 @@

招聘

- +
@@ -52,10 +52,11 @@ @@ -163,7 +161,7 @@ overflow: hidden; display: flex; margin-top: 15px; - // padding-bottom: 10px; + padding-bottom: 10px; border-bottom: 1px solid #eee; } .posts-list-info .userimg{ @@ -204,7 +202,7 @@ width: 36px; height:18px; text-align: center; - // line-height:18px; + line-height:18px; margin-right: 5px; font-size: 12px; color: #80bd01; @@ -244,4 +242,4 @@ } .posts-list .bar-info .bar-info-item2 .bar-info-item-number{ } - \ No newline at end of file +