fix: 修复siteInfo每次都要重新设置的bug

This commit is contained in:
xiaojunnuo
2024-10-14 14:31:30 +08:00
parent 3ec6adfc0d
commit 36b26ae9f5
2 changed files with 1 additions and 3 deletions
@@ -41,9 +41,6 @@ export class SysSettingsService extends BaseService<SysSettingsEntity> {
if (!key) {
return null;
}
if (key === 'sys.site' && isComm()) {
return null;
}
return await this.repository.findOne({
where: {
key,