陈溺星河
陈溺星河
  • 发布:2025-05-03 14:38
  • 更新:2025-05-03 14:38
  • 阅读:57

uniapp:app跳转微信小程序后成功的回调不执行

分类:uni-app x
jumpToMiniProgram(item) {  
  const that = this;  
  plus.share.getServices(  
    (res) => {  
      let sweixin = null;  
      sweixin = res.find((i) => i.id === 'weixin');  
      if (sweixin) {  
        sweixin.launchMiniProgram(  
          {  
            id: item.original_id,  
            path: item.path,  
            type: 0  
          },  
          (r) => { console.log(r);  }, // 不执行  
          (e) => { console.log(e); }  
        );  
      }  
    },  
  );  
},
2025-05-03 14:38 负责人:无 分享
已邀请:

要回复问题请先登录注册