mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-30 18:39:18 +08:00
修复StorageManager.getBoolean方法返回值错误问题
This commit is contained in:
@@ -113,7 +113,7 @@ export class StorageManager {
|
||||
/** 获取指定关键字的布尔值 */
|
||||
getBoolean(key: string): boolean {
|
||||
var r = this.get(key);
|
||||
return Boolean(r) || false;
|
||||
return r.toLowerCase() === 'true';
|
||||
}
|
||||
|
||||
/** 获取指定关键字的JSON对象 */
|
||||
|
||||
Reference in New Issue
Block a user