m***@163.com
m***@163.com
  • 发布:2021-07-03 09:08
  • 更新:2021-07-03 09:08
  • 阅读:356

uniapp跳转小程序出错 (有偿问答)

分类:uni-app
         fntoweixin(){  
            plus.share.getServices(function(res) {  
                var sweixin = null;  
                for (var i = 0; i < res.length; i++) {  
                    var t = res[i];  
                    if (t.id == 'weixin') {  
                        sweixin = t;  
                    }  
                }  

                if (sweixin) {  
                    sweixin.launchMiniProgram({  
                        id: 'wxf1a82ce85f7f2c73',  
                        path: 'pages/tabBar/cardList/cardlist',  
                        type: 0  
                    });  
                }  
            }, function(res) {  
                console.log(JSON.stringify(res));  
            });  
        }  
2021-07-03 09:08 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复