let context = getContext(this) as common.UIAbilityContext;
let LaunchMiniProgramReq =new WXOpenSdk.LaunchMiniProgramReq
LaunchMiniProgramReq.userName = arr[2]
LaunchMiniProgramReq.path = newPath
LaunchMiniProgramReq.miniprogramType = 0
const WXApi = WXOpenSdk.WXAPIFactory.createWXAPI('key')
let success = await WXApi.sendReq(context,LaunchMiniProgramReq)
你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点