diff --git a/12_列表筛选/1.基本列表.html b/12_列表筛选/1.基础列表.html similarity index 50% rename from 12_列表筛选/1.基本列表.html rename to 12_列表筛选/1.基础列表.html index 0109ea9..6836912 100644 --- a/12_列表筛选/1.基本列表.html +++ b/12_列表筛选/1.基础列表.html @@ -9,16 +9,26 @@
@@ -31,13 +41,13 @@ {id: 1, name: '张三', age: 18}, {id: 2, name: '李四', age: 19}, {id: 3, name: '王五', age: 20} - ] - }, - methods:{ - addPerson() { - const p = {id: 0, name: "赵老大", age: 80} - this.listData.unshift(p) - } + ], + car: { + name: "特斯拉", + model: "Model3", + price: "29.9w" + }, + testStr: "Hello!" } }) diff --git a/12_列表筛选/2.Key的原理.html b/12_列表筛选/2.Key的原理.html index 6836912..b9e6f09 100644 --- a/12_列表筛选/2.Key的原理.html +++ b/12_列表筛选/2.Key的原理.html @@ -2,33 +2,23 @@
-
+
@@ -41,13 +31,13 @@ {id: 1, name: '张三', age: 18}, {id: 2, name: '李四', age: 19}, {id: 3, name: '王五', age: 20} - ], - car: { - name: "特斯拉", - model: "Model3", - price: "29.9w" - }, - testStr: "Hello!" + ] + }, + methods:{ + addPerson() { + const p = {id: 0, name: "赵老大", age: 80} + this.listData.unshift(p) + } } }) diff --git a/12_列表筛选/3.列表过滤.html b/12_列表筛选/3.列表过滤.html new file mode 100644 index 0000000..f1409c2 --- /dev/null +++ b/12_列表筛选/3.列表过滤.html @@ -0,0 +1,75 @@ + + +
+ +
+ + +
+ +