e 1 年之前
父节点
当前提交
0cb1393d4c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vue2.0/vue初阶/14.列表排序.html

+ 1 - 1
vue2.0/vue初阶/14.列表排序.html

@@ -69,7 +69,7 @@
                 */
                 if(this.sortType) {
                     // 排序
-                    this.arr.sort((a,b)=>{
+                    this.person.sort((a,b)=>{
                         // if(this.sortType === 1) {
                         //     console.log("111")
                         //     return b.age - a.age;