小程序
小游戏
企业微信
微信支付
扫描小程序码分享
类似页面在多个小程序中使用,选择开发插件页面,怎样给插件页面传递参数呢
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
在插件中有全局函数 requireMiniProgram,可以获取由使用者小程序导出的内容。
requireMiniProgram
https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/development.html#%E8%8E%B7%E5%8F%96%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%AF%BC%E5%87%BA
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
请问找到解决方案了吗?
文档都有写:
https://developers.weixin.qq.com/miniprogram/dev/reference/api/Component.html
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
在插件中有全局函数
requireMiniProgram
,可以获取由使用者小程序导出的内容。https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/development.html#%E8%8E%B7%E5%8F%96%E5%B0%8F%E7%A8%8B%E5%BA%8F%E5%AF%BC%E5%87%BA
请问找到解决方案了吗?
文档都有写:
https://developers.weixin.qq.com/miniprogram/dev/reference/api/Component.html