美文网首页
uni-app打包app后报 cannot read prope

uni-app打包app后报 cannot read prope

作者: 赖兔宝 | 来源:发表于2020-12-01 15:31 被阅读0次

发现封装的后的uni.request没有执行,原因在于:

运行环境判断

        当刚开始开发阶段,一直没有写过生产环境的路劲,无论浏览器还是拿手机模拟器测试都没问题,就忘记了这块,导致打包后出现cannot read property ‘data’ of undefind,目前已经解决。

        

相关文章

网友评论

      本文标题:uni-app打包app后报 cannot read prope

      本文链接:https://www.haomeiwen.com/subject/szkfsktx.html