|
@@ -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') {
|