typeerror: cannot read property “getattribute’ of undefined”
错误代码:这种情况你是无法获取这个元素的 任何信息
正确代码:在this.$nextTick 回调里处理,是dom加载完成之后就能获取元素,并进行相应操作
typeerror: cannot read property “getattribute‘ of undefined“
最新推荐文章于 2023-07-25 16:56:50 发布
typeerror: cannot read property “getattribute’ of undefined”
错误代码:这种情况你是无法获取这个元素的 任何信息
正确代码:在this.$nextTick 回调里处理,是dom加载完成之后就能获取元素,并进行相应操作