From a2d9ecf19bd1b06aa860d63f921b2ab5f10de0e1 Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Thu, 28 Oct 2021 17:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/babylon/controller/mode-manager.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/babylon/controller/mode-manager.ts b/src/app/babylon/controller/mode-manager.ts index c8b1743..e2d4fa4 100644 --- a/src/app/babylon/controller/mode-manager.ts +++ b/src/app/babylon/controller/mode-manager.ts @@ -15,15 +15,21 @@ export enum ModeType { export class ModeManager { /** - * 当前模式的类型 + * 当前模式的类型(在查看模式下,可编辑某些内容的权限) */ private static s_currentMode: ModeType = ModeType.Edit; + /** * 调试模式 */ public static isDebug = true; + /** + * 是编辑人员(内部编辑人员,可新增单位、上传模型) + */ + public static isEditor = true; + //#region 演示单单位