收藏
回答

page-container组件永久无法返回上一页

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug page-container 工具 8.0.61 3.8.12
showChoose(){
  this.setData({
    showchoose:true
  });
},
goCamara(){
    this.setData({
      showchoose:false
    });
  wx.navigateTo({
    url'/pages/temppage/temppage',
  });
},

<page-container show="{{showchoose}}">

  <view bind:tap="goCamara">拍照上传</view>

</page-container>


从其他页面进入到问题页面,调用showChoose将page-container显示,然后点击其中的拍照上传按钮触发goCamara方法,跳转到新的页面后点击返回回到问题页面,此时问题页面无法正常返回到上一页

回答关注问题邀请回答
收藏

3 个回答

  • 社区技术运营专员--Asher
    社区技术运营专员--Asher
    08-11

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    08-11
    有用
    回复
  • 超
    12-03
    刚好遇到,在settimeout大概300毫秒之后再跳转/pages/temppage/temppage就正常了,这个应该是bug
    
    12-03
    有用
    回复
  • dreamhunter
    dreamhunter
    08-05

    打印失败回调,看看具体报错

    08-05
    有用
    回复
登录 后发表内容