Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customStorage 设置expire 过期时间无效 #316

Open
VenyXiong opened this issue May 9, 2018 · 0 comments
Open

customStorage 设置expire 过期时间无效 #316

VenyXiong opened this issue May 9, 2018 · 0 comments

Comments

@VenyXiong
Copy link
Member

var storage = new CustomStorage(0);
storage.set('usFlag', 'true', 10000);
如此设置了之后,无论过了多久,获取usFlag的值,都是true~

期望再过了10000ms之后,返回undefine;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant