|
@@ -22,9 +22,9 @@ Page({
|
|
|
// 赛事选手
|
|
|
playerList: [],
|
|
|
// 第一层手风琴
|
|
|
- playerIndex: null,
|
|
|
+ playerIndex: 99999,
|
|
|
// 第二层手风琴
|
|
|
- playerIndexs: null,
|
|
|
+ playerIndexs: 99999,
|
|
|
// 秩序册
|
|
|
cType: '0',
|
|
|
cList: [],
|
|
@@ -111,13 +111,13 @@ Page({
|
|
|
onePayer: function (e) {
|
|
|
const that = this;
|
|
|
if (e.detail != that.data.playerIndex) that.setData({ playerIndex: e.detail })
|
|
|
- else that.setData({ playerIndex: null })
|
|
|
+ else that.setData({ playerIndex: 99999 })
|
|
|
},
|
|
|
// 第二层手风琴
|
|
|
twoPayer: function (e) {
|
|
|
const that = this;
|
|
|
if (e.detail != that.data.playerIndexs) that.setData({ playerIndexs: e.detail })
|
|
|
- else that.setData({ playerIndexs: null })
|
|
|
+ else that.setData({ playerIndexs: 99999 })
|
|
|
},
|
|
|
// 秩序册选择
|
|
|
cChange: function (e) {
|
|
@@ -223,7 +223,6 @@ Page({
|
|
|
}
|
|
|
// 成绩册列表
|
|
|
arr = await app.$get(`/matchProject`, { match_id: that.data.info._id }, 'race');
|
|
|
- console.log(arr.data);
|
|
|
if (arr.errcode == '0') { that.setData({ achieveList: arr.data }) }
|
|
|
|
|
|
},
|