style: remove caches when init config in development

pull/90/head
moonrailgun 2 years ago
parent e772f417e4
commit 032328f1f5

@ -61,6 +61,9 @@ class ConfigService extends TcService {
});
this.registerAuthWhitelist(['/client']);
if (config.env === 'development') {
this.cleanActionCache('client'); // 初始化时清理缓存
}
}
/**

Loading…
Cancel
Save