wx.uploadFile上传后闪退,为什么?

小程序 文章 2022-04-28 10:20 0 全屏看文

wx.uploadFile上传后闪退,为什么?Wx.uploadFile crashes after uploading, why?

wx.uploadFile上传后闪退,为什么?

文件可以上传到指定目录,但是会闪退,当前界面会强制刷新一次,不太能搞清楚

Files can be uploaded to the specified directory, but will flash back. The current interface will be forced to refresh once, which is not clear

回答:

困而学之:

是必现的吗,能否提供下代码片段 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

11110111001011110111001110111:

检测你的onShow事件是不是写了刷新事件

纠不打结:20000

-EOF-