layui hint:upload is not a valid module 报错信息:layui hint:upload is not a valid module,如图: 解决方案: 引用了两次layui.js,仔细检查代码后,注销掉一次引用就好了