zhaoxiaohai 3 years ago
parent
commit
1ac3fe41c9
1 changed files with 1 additions and 2 deletions
  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
         });
     };