<分区>
如标题所述,我的问题是:
this.storage.get('user')
我得到了这个对象
t {__zone_symbol__state: null, __zone_symbol__value: Array(0)}
而且我不知道如何操作它。
我想问是否有办法从我的存储中获取字符串值 例子
// when i store user id like that
this.storage.set("user", JSON.stringify(userID));
console.log(this.storage.get('user'))//output 100 for example