|
@@ -183,10 +183,8 @@ function line3(x, textY, col, colWidth) {
|
|
|
|
|
|
function selectFlag(index) {
|
|
function selectFlag(index) {
|
|
const select = flag[index];
|
|
const select = flag[index];
|
|
- console.log(select[6].isED)
|
|
|
|
- if (select[2] == 4 || select[6].isED || select[6].isForeast) return;
|
|
|
|
|
|
+ if (select[2] == 4 || select[4].text === '?' || select[6].isED || select[6].isForeast) return;
|
|
const linkSelect = flag[select[3] % 2 === 0 ? index + 1 : index - 1] || undefined;
|
|
const linkSelect = flag[select[3] % 2 === 0 ? index + 1 : index - 1] || undefined;
|
|
- console.log(linkSelect,select[3])
|
|
|
|
const startRow = select[2]; // 行数
|
|
const startRow = select[2]; // 行数
|
|
const startCol = select[3]; // 点击列数
|
|
const startCol = select[3]; // 点击列数
|
|
const isDown = startRow < 4 ? 1 : -1; // 递增系数
|
|
const isDown = startRow < 4 ? 1 : -1; // 递增系数
|
|
@@ -232,8 +230,9 @@ function upData() {
|
|
for (let i = 0; i < flag.length; i++) {
|
|
for (let i = 0; i < flag.length; i++) {
|
|
const v = flag[i];
|
|
const v = flag[i];
|
|
if (!v[6].pSelectId || !v[4].text || v[4].text == "?") continue;
|
|
if (!v[6].pSelectId || !v[4].text || v[4].text == "?") continue;
|
|
|
|
+ let raceId = v[6].pSelectId != -1 ? v[6].pSelectId : 15;
|
|
objFlag.push({
|
|
objFlag.push({
|
|
- raceId: v[6].selectId,
|
|
|
|
|
|
+ raceId,
|
|
winner: v[4].text,
|
|
winner: v[4].text,
|
|
});
|
|
});
|
|
}
|
|
}
|