nttest 6 年之前
父节点
当前提交
978ba9dfec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/AppModels/Vms/StartStopMineButtonViewModel.cs

+ 1 - 1
src/AppModels/Vms/StartStopMineButtonViewModel.cs

@@ -38,9 +38,9 @@ namespace NTMiner.Vms {
                 action: message => {
                     BtnStopText = $"倒计时({--n})";
                     if (n <= 0) {
-                        BtnStopText = "正在挖矿";
                         VirtualRoot.UnPath(handler);
                         if (!NTMinerRoot.IsAutoStartCanceled) {
+                            BtnStopText = "正在挖矿";
                             NTMinerRoot.Instance.StartMine();
                         }
                     }