e hace 1 año
padre
commit
0cb1393d4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;