소스 검색

:poop: not using exhibition or event sort

tags/0.9.0
J 4 년 전
부모
커밋
da0892ebd1
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      vue-theme/src/pages/list.vue

+ 3
- 3
vue-theme/src/pages/list.vue 파일 보기

@@ -80,15 +80,15 @@ export default {
80 80
                       .filter(p => p)
81 81
                       .pop()
82 82
 
83
-            let dispatchParams = {
84
-                sortType: ['event', 'exhibition'].includes(this.type) ? sortTypes.currentAndUpcoming : sort,
83
+            const dispatchParams = {
84
+                sortType: sort,
85 85
                 params: {
86 86
                     limit: this.perPage,
87 87
                     page: this.page
88 88
                 }
89 89
             }
90 90
 
91
-            let dispatchAction = clear ? `getAll${this.pType}` : `getMore${this.pType}`
91
+            const dispatchAction = clear ? `getAll${this.pType}` : `getMore${this.pType}`
92 92
 
93 93
             const res = await this.$store.dispatch(dispatchAction, dispatchParams)
94 94
 

Loading…
취소
저장