From 0a3d8b7f5ce8a7544796d5e341c861a891e9ed4f Mon Sep 17 00:00:00 2001 From: dgflash Date: Sat, 30 Nov 2024 11:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DNative=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E4=B8=8A=E6=9C=AC=E5=9C=B0=E5=AD=98=E5=82=A8=E5=B8=83=E5=B0=94?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=95=B0=E6=8D=AE=E5=A4=B1=E8=B4=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/core/common/storage/StorageManager.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/core/common/storage/StorageManager.ts b/assets/core/common/storage/StorageManager.ts index 1bd652d..fd14b5e 100644 --- a/assets/core/common/storage/StorageManager.ts +++ b/assets/core/common/storage/StorageManager.ts @@ -70,6 +70,9 @@ export class StorageManager { else if (typeof value === 'number') { value = value + ""; } + else if (typeof value === 'boolean') { + value = String(value); + } if (this.encrypted) { value = this.iss.encrypt(value);