瀏覽代碼

添加排揎

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