mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
升级依赖到最新,生成环境不检查
This commit is contained in:
parent
d055e856da
commit
38a6693468
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user