mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore: 商业版放开限制,可以切换为企业模式
This commit is contained in:
@@ -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);
|
||||||
//让设置生效
|
//让设置生效
|
||||||
|
|||||||
Reference in New Issue
Block a user