AttributeError: ‘NoneType‘ object has no attribute ‘js_dependencies‘

出现这样的时候,大概率是封装函数没有返回值。
在这里插入图片描述

给封装的函数加一个返回值,即可解决。(可以参考一下)

猜你喜欢

转载自blog.csdn.net/weixin_44902604/article/details/124085255