升级依赖到最新,生成环境不检查

This commit is contained in:
cool 2024-05-16 10:20:22 +08:00
parent d055e856da
commit 38a6693468
3 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,7 @@
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"jest": "^29.7.0", "jest": "^29.7.0",
"mwts": "^1.3.0", "mwts": "^1.3.0",
"mwtsc": "^1.9.0", "mwtsc": "^1.9.1",
"ts-jest": "^29.1.2", "ts-jest": "^29.1.2",
"typescript": "~5.4.5" "typescript": "~5.4.5"
}, },

View File

@ -27,6 +27,7 @@ export class BaseAppEvent {
@Event('onMenuInit') @Event('onMenuInit')
async onMenuInit() { async onMenuInit() {
if (this.app.getEnv() != 'local') return;
this.checkConfig(); this.checkConfig();
this.checkKeys(); this.checkKeys();
} }

View File

@ -21,6 +21,7 @@ export class UserAppEvent {
@Event('onMenuInit') @Event('onMenuInit')
async onMenuInit() { async onMenuInit() {
if (this.app.getEnv() != 'local') return;
this.checkConfig(); this.checkConfig();
} }