修改初始化逻辑

This commit is contained in:
whyour
2023-06-16 02:12:25 +08:00
parent e5bc4b3b04
commit 9f4435b237
5 changed files with 65 additions and 56 deletions
+1 -2
View File
@@ -47,8 +47,7 @@ export default (app: Router) => {
if (
Object.keys(authInfo).length === 2 &&
authInfo.username === 'admin' &&
authInfo.password === 'admin' &&
envCount === 0
authInfo.password === 'admin'
) {
isInitialized = false;
}