要使用this
来实现chrome持久化存储if (navigator.storage && navigator.storage.persist) navigator.storage.persist()
.then(granted => {
if (granted) console.log("Storage will not be cleared except by explicit user action");
else console.log("Storage may be cleared by the UA under storage pressure.");
});
但是如何以编程方式删除PERSISTANCE?