chore: 商业版放开限制,可以切换为企业模式

This commit is contained in:
xiaojunnuo
2026-04-23 23:30:52 +08:00
parent d23ddc96ac
commit ab4373b26e
@@ -119,11 +119,11 @@ export class SysSettingsService extends BaseService<SysSettingsEntity> {
} }
async savePublicSettings(bean: SysPublicSettings) { async savePublicSettings(bean: SysPublicSettings) {
if (isComm()) { // if (isComm()) {
if (bean.adminMode === 'enterprise') { // if (bean.adminMode === 'enterprise') {
throw new Error("商业版不支持使用企业管理模式") // throw new Error("商业版不支持使用企业管理模式")
} // }
} // }
await this.saveSetting(bean); await this.saveSetting(bean);
//让设置生效 //让设置生效