遇到ui脚本报错:element is not attached to the page document

解决办法,再次定位即可