摘要: ``` const VueObj = document.querySelector('#__nuxt').__vue__.__proto__.__proto__.constructor //VueObj.config.devtools = true window.__VUE_DEVTOOLS_GLO 阅读全文
posted @ 2023-07-27 13:56 7c89 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 实际建议通过 高度 在resize 是判读 是否全屏 应该 f11 执行的全屏js 无法判断 ``` // 全屏 var isFullScreen=false function fullScreen(id) { // el 是要放大的div的id let el = document.getEleme 阅读全文
posted @ 2023-07-27 13:44 7c89 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ChatGPT 在JavaScript中,由于Number类型只能表示52位精度,因此默认情况下无法进行超过16位的乘法运算。但是,你可以使用BigInt来处理大数字。 BigInt是目前JavaScript中处理超出Number精度限制的数字的最佳方式。它是一种新的数据类型,可以表示任意精度的整数 阅读全文
posted @ 2023-07-27 13:38 7c89 阅读(19) 评论(0) 推荐(0) 编辑