From 70a9cac32ddc1d5cdf75ee51a03a96f0f5707dc5 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 29 Jan 2024 17:56:33 +0900 Subject: [PATCH] =?UTF-8?q?=E8=BB=8A=E5=AE=A4=E7=95=AA=E5=8F=B7=E3=81=8C?= =?UTF-8?q?=E6=95=B0=E5=80=A4=E3=81=A7=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88?= =?UTF-8?q?=E3=81=8C=E3=81=82=E3=82=8B=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/定期申込予約/自動承認.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/定期申込予約/自動承認.ts b/src/apps/定期申込予約/自動承認.ts index b4ff5da..bf20fe0 100644 --- a/src/apps/定期申込予約/自動承認.ts +++ b/src/apps/定期申込予約/自動承認.ts @@ -161,9 +161,10 @@ export class 申込 { throw new Message("空き車室がありません"); } - const 車室番号 = Number(target.value.車室番号.value); + const 車室番号 = target.value.車室番号.value; + console.log({ 車室一覧: this.車室一覧, 車室番号 }); const 車室 = this.車室一覧.find((room) => { - return Number(room.車室番号.value) === 車室番号; + return room.車室番号.value === 車室番号; }); if (!車室) { throw new Message("車室がありません");