소스 검색

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 } })