2024年6月25日

手机端存储用户信息

摘要: js localStorage // 设置带有过期时间的 localStorage 数据项,单位是秒 Storage.prototype.setItemV2 = function(key, value, ttl) { if(ttl){ ttl = ttl * 1000; } const now = 阅读全文

posted @ 2024-06-25 15:25 andydaopeng 阅读(1) 评论(0) 推荐(0) 编辑