소스 검색

:bug: capitalizing correctly

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

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

@@ -54,7 +54,7 @@ export default {
54 54
         },
55 55
         pType() {
56 56
             console.log(this.type)
57
-            return this.sortBy ? `${this.type.split('/')[0]}s` : `${this.type}s`
57
+            return this.sortBy ? `${convertTitleCase(this.type.split('/')[0])}s` : `${convertTitleCase(this.type)}s`
58 58
         },
59 59
         loaded() {
60 60
             if (!this.pType) return

Loading…
취소
저장