From 8ca16e00bbeeb2fe5db5a702c1702539db9c2557 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 5 Jan 2024 16:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/Platform/JlPlatform.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/packages/Platform/JlPlatform.ts b/src/packages/Platform/JlPlatform.ts index 59ef262..cd5a0c8 100644 --- a/src/packages/Platform/JlPlatform.ts +++ b/src/packages/Platform/JlPlatform.ts @@ -235,6 +235,9 @@ export abstract class JlPlatform extends JlGraphic { get datas() { return this.getDatas(); } + get code(): string { + return this.datas.code; + } doRepaint(): void { this.doorGraphic?.clear(); const platformConsts = this.platformConsts;