JavaScript通过style获取img的width和height时,获取不到 起因 img没有设置款式width和height 解决办法 offsetWidth和offsetHeight clientWidth和clientHeight
发表回复