mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-30 18:39:18 +08:00
修复Native平台上本地存储布尔类型数据失败问题
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user