问题描述 控制台报错:Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' 解决方案: 在没有主动调用该方法进行某些高深Dom操作的情况下,反思一下自己是不是在vue html部分调用参数时一时不察加了个"this.",删掉就行了