:wxfrwk:`打开 App ` ================================================ 此功能需要用户主动触发才能打开 APP,所以不由 API 来调用, 需要用 open-type 的值设置为 launchApp 的 .. code:: js Page({ launchAppError(e) { console.log(e.detail.errMsg) } }) error 事件参数说明 +---------------+-------------------------------------------------------+ | 值 | 说明 | +===============+=======================================================+ | invalid scene | 调用场景不正确,即此时的小程序不具备打开 APP 的能力。 | +---------------+-------------------------------------------------------+