From 014e8bbf24e2ce2fdd46f1fe16da903558851352 Mon Sep 17 00:00:00 2001 From: 63db3122f0950a2aef64df95 <63db3122f0950a2aef64df95@devide> Date: Sun, 9 Jul 2023 16:54:00 +0000 Subject: [PATCH] Sun Jul 9 16:54:00 UTC 2023 inscode --- src/utils/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index 7b6eddd..3c06451 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -117,9 +117,8 @@ export function robotPlay(board, win_size) { return [{ [`${row}_${col}`]: Math.max(_b_score, _w_score) }] - } else { - return [] } + return [] }) }).flat(1) // 按分数分组 -- GitLab