@tuya-miniapp/bridge-tools
v1.0.0
Published
miniapp bridge tools
Downloads
3
Readme
对外开发工具类函数
getMiniAppScheme
参数 Object object
| 属性 | 类型 | 默认值 | 必填 | 说明 | | --------- | ---------------- | ------ | ---- | ------------------------------- | | appScheme | string | | 是 | appScheme | | miniappId | string | | 是 | 小程序 Id | | params | string 或 object | | 否 | 携带参数,可为 string 或 object |
- 示例代码
import { getMiniAppScheme } from "@tuya-miniapp/bridge-tools";
getMiniAppScheme({
appScheme: "myAppSchema",
miniappId: "myMiniappId",
params: {
id: "1234",
},
});