From 3d64a53423f79febd80ce87d297e7f571e588270 Mon Sep 17 00:00:00 2001 From: uye <2396806385@qq.com> Date: Sat, 27 May 2023 16:48:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E5=8D=A1=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=B8=BAnull=E6=97=B6=E5=8F=98=E4=B8=BA=E5=BD=93=E5=89=8D/?= =?UTF-8?q?=E4=B8=8A=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs index cfddbc86a2..6eb538cc93 100644 --- a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs @@ -1834,6 +1834,8 @@ namespace MaaWpfGui.ViewModels.UI return; } + value ??= string.Empty; + if (CustomStageCode) { // 从后往前删 @@ -1865,6 +1867,8 @@ namespace MaaWpfGui.ViewModels.UI return; } + value ??= string.Empty; + if (CustomStageCode) { if (_stage2.Length != 3) @@ -1895,6 +1899,8 @@ namespace MaaWpfGui.ViewModels.UI return; } + value ??= string.Empty; + if (CustomStageCode) { if (_stage3.Length != 3) @@ -1959,6 +1965,8 @@ namespace MaaWpfGui.ViewModels.UI return; } + value ??= string.Empty; + if (CustomStageCode) { if (_remainingSanityStage.Length != 3)