zs 2 lat temu
rodzic
commit
e2eaf7cf0d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/openMatch/index.js

+ 1 - 1
pages/openMatch/index.js

@@ -176,7 +176,7 @@ Page({
         const { name } = e.detail;
         that.setData({ 'fieldtabs.active': name });
         let group = that.data.fieldtabs.list.find((i) => i.name == name);
-        if (group) {
+        if (group && group.name != 0) {
             that.setData({ active: group.name });
             // const arr = await app.$get(`/newCourt/api/race`, { ground_id: group._id });
             // if (arr.errcode == '0') {