我有一个存储在 chrome 存储中的对象,如下所示:
{
"planA":
{
123: {key: 'some key'}
124: {key: 'some other key'}
},
"planB":
{
223: {key: 'some key'}
234: {key: 'some other key'}
}
}
我想做类似的事情chrome.storage.sync.remove([{"planA": "123"}]);
但这似乎不起作用Error in response to storage.get: Error: Invalid value for argument 1. Value does not match any valid type choices.
从文档 StorageArea.remove(string or array of string keys, function callback)
蚂蚁的想法?