zhaoxiaohai hace 3 años
padre
commit
1ac3fe41c9
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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
         });
     };