Object mc.getLaunchOptionsSync()

获取应用启动时的参数。与 App.onLaunch 的回调参数一致。

返回值

类型 说明
Object 参考 mc.onAppShow() 回调参数说明

示例代码:

const option = mc.getLaunchOptionsSync();

results matching ""

    No results matching ""

    results matching ""

      No results matching ""