Skip to content

跳转props undefined的问题  #1398

@Noah-Bytes

Description

@Noah-Bytes

问题描述
页面初始化时候,可以拿到props数据
但是页面跳转的时候,拿到的是undefined

复现步骤
[复现问题的步骤]

  1. app 页面
    image

  2. Positioning 页面
    image

  3. 通过Taro.navigateTo 跳转结果
    image

  4. 初始化的时候,是有数据的
    image

期望行为
是我使用方式不对吗?希望可以解决

系统信息

  • 操作系统: Mac OS X 10.14.1
  • Taro 版本 1.2.0-beta.9
  • Node.js 版本 v10.4.1
  • 报错平台 weapp/alipay

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions