zhaoxiaohai 3 năm trước cách đây
mục cha
commit
1ac3fe41c9
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      custom-tab-bar/index.wxml

+ 1 - 2
custom-tab-bar/index.wxml

@@ -8,8 +8,7 @@
 
 <wxs module="per">
     function query(list, name) {
-        // console.log(list.includes(name))
-        return a1 = list.some(function (v) {
+        return list.some(function (v) {
             return v == name
         });
     };