摘要: 1.方式一 document.getElementById("app").style.width 2.方式二: const el = document.getElementById('app') console.log(window.getComputedStyle(el).width) 阅读全文
posted @ 2024-05-18 11:46 埃菲尔上的加菲猫 阅读(47) 评论(0) 推荐(0) 编辑