遇到这种问题不要慌,小场面,像这种有明确的提示的,xxxx方法未定义(xxx is not defined),直接看import( )部分,就是接口调用方法没有引出。或者方法名引入的时候大小写不对
![](https://img-blog.csdnimg.cn/img_convert/c6dba707021944548eaf317b7e318d2a.png)
我们看看import( )from部分
![](https://img-blog.csdnimg.cn/img_convert/06e7aa3b330d42729ee045fae925cae7.png)
缺少hpvPack( )方法
修改方法:
![](https://img-blog.csdnimg.cn/img_convert/3d48967942c648ea8f98f43f86a57c5e.png)
遇到这种问题不要慌,小场面,像这种有明确的提示的,xxxx方法未定义(xxx is not defined),直接看import( )部分,就是接口调用方法没有引出。或者方法名引入的时候大小写不对
我们看看import( )from部分
缺少hpvPack( )方法
修改方法: