奋斗now
奋斗now
  • 发布:2018-09-28 16:32
  • 更新:2018-09-28 16:55
  • 阅读:2244

微信模拟器运行没有问题,Android手机运行是报错

分类:uni-app

真机运行的时候报错
16:23:09.704 同步手机端程序文件完成
16:23:09.724 正在重启...
16:23:10.747 appServiceSDKScriptError
16:23:10.767 26:49.647 12646 12646 I console : o.setStyle is not a function; at wx.reLaunch
16:23:10.784 26:49.647 12646 12646 I console : TypeError: o.setStyle is not a function
16:23:11.004 [non-writable] write Promise.prototype.finally is not allowed when using plugins at pages.json.
16:23:11.508 [编译] Compiling...
16:23:12.638 [完成] uni-app 编译完毕
16:23:12.648 项目 'QueShengDl' 编译成功.
16:23:12.693 正在同步手机端程序文件...
16:23:12.933 同步手机端程序文件完成
16:23:12.953 正在重启...
16:23:13.596 appServiceSDKScriptError
16:23:13.617 26:52.492 12646 12646 I console : o.setStyle is not a function; at wx.reLaunch
16:23:13.635 26:52.492 12646 12646 I console : TypeError: o.setStyle is not a function
16:23:13.855 [non-writable] write Promise.prototype.finally is not allowed when using plugins at pages.json.

2018-09-28 16:32 负责人:无 分享
已邀请:
Trust

Trust - 少说废话

上传下能够重现问题的项目源码。

  • 奋斗now (作者)

    问题的原因我找到了,是我把uni.request封装在一个js文件里面调用的原因,有什么方法解决不

    2018-09-28 17:13

该问题目前已经被锁定, 无法添加新回复