Taro开发经验 发表于 2024-05-29 更新于 2024-05-30 分类于 前端 阅读次数: 快速新增 API、组件,调整组件属性例如:在支付宝小程序中移除enableNative属性 12345678910[ "@tarojs/plugin-inject", { components: { Input: { enableNative: "", }, }, }, ] 使用@tarojs/plugin-inject插件 参考文章https://taro-docs.jd.com/docs/platform-plugin/ 页面跳转对象传参A->B A页面 123Taro.preload()Taro.navigateTo() B页面 1console.log(Taro.getCurrentInstance().preloadData)