会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JackAfan
首页
新随笔
联系
管理
2020年2月20日
JS设置时间为6天后
摘要: Date对象 var oDate = new Date; console.log("当前时间:" + oDate) oDate.setDate( oDate.getDate() + 6 );//设置为6天 // oDate.setDate();//设置天时间 // oDate.getDate();/
阅读全文
posted @ 2020-02-20 23:05 JackAfan
阅读(171)
评论(0)
推荐(0)
公告
setTimeout(function(){ let aImg = document.querySelectorAll("img"); aImg.forEach(img=>{ img.alt = "" }) console.log("去除img-alt成功") },1000)