摘要:
getComputedStyle是window上实时获取已经计算过的style属性的方法 使用的时候传入dom节点 window.getComputedStyle(element) 阅读全文
posted @ 2022-05-15 15:27
Pavetr
阅读(69)
评论(0)
推荐(0)
摘要:
在vue里面$mount方法是挂载的方法 this.$mount().$el就是把当前组件挂载在页面然后获取当前页面dom const node = this.$mount().$el 阅读全文
posted @ 2022-05-15 15:20
Pavetr
阅读(521)
评论(0)
推荐(0)

浙公网安备 33010602011771号