From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/index.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/index.js b/src/index.js
index 13aafa7..c5526ea 100644
--- a/src/index.js
+++ b/src/index.js
@@ -85,6 +85,9 @@
       if (config.probation && /^20\d{2}-\d{2}-\d{2}$/.test(config.probation) && new Date(config.probation).getTime() > new Date().getTime()) {
         GLOB.probation = true
       }
+    } else if (options.sysType === 'local') {
+      GLOB.probation = true
+      GLOB.systemType = ''
     } else {
       GLOB.systemType = ''
     }

--
Gitblit v1.8.0