浏览代码

Change vue to this

sbkwgh 8 年之前
父节点
当前提交
0554fe0a65
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/components/routes/Thread.vue

+ 1 - 2
src/components/routes/Thread.vue

@@ -125,8 +125,7 @@
 				this.$store.dispatch('loadPostsAsync', { vue, previous: true });
 			},
 			loadInitialPosts () {
-				let vue = this
-				this.$store.dispatch('loadInitialPostsAsync', vue)
+				this.$store.dispatch('loadInitialPostsAsync', this)
 			},	
 			goToPost (id) {
 				this.$router.push({ params: { post_id: id } })