소스 검색

添加排揎

zhangyu 5 년 전
부모
커밋
64c3ddf275
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/relation/data/index.vue

+ 1 - 1
src/views/relation/data/index.vue

@@ -150,11 +150,11 @@
             }
             return item
           })
+          arrList.sort((a, b) => a.title.localeCompare(b.title))
           return arrList
         } else {
           return []
         }
-
       },
       resetTransformation() {
         this.isDisabled = true