After you click the clear method, the cache for the key in localStorage should disappear.
复现步骤
Use useStorage hooks on the page, use the array subscript 1 set cache method in useEffect to set a string. Then write a button to trigger the cleanup cache method provided by array subscript 2, but it doesn't work, and the corresponding key cache for localStorage still exists.
基本信息
预期结果
After you click the clear method, the cache for the key in localStorage should disappear.
复现步骤
Use useStorage hooks on the page, use the array subscript 1 set cache method in useEffect to set a string. Then write a button to trigger the cleanup cache method provided by array subscript 2, but it doesn't work, and the corresponding key cache for localStorage still exists.