05 2022 档案

摘要:<template> <div class="m-video-player-wrap" @contextmenu="handleMouse"> </div> </template> handleMouse(e) { e.preventDefault(); }, //禁用f12键 handleNoDe 阅读全文
posted @ 2022-05-27 21:05 徐同保 阅读(18) 评论(0) 推荐(0) 编辑
摘要:handleRefresh() { const nowIndex = location.href.indexOf("&now="); location.href = location.href.slice(0, nowIndex) + "&now=" + Date.now(); window.loc 阅读全文
posted @ 2022-05-26 09:03 徐同保 阅读(10) 评论(0) 推荐(0) 编辑
摘要:const obj = { a: 1 } console.log(obj.a) //1 //console.log(obj.b.c) //报错 console.log(obj.b?.c) //undefined, 不报错, 可选链(.?) //空值合并运算符(??) const a = 0 cons 阅读全文
posted @ 2022-05-18 15:40 徐同保 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示