uniapp判断是否安装微信
·
// #ifdef APP-PLUS
if (plus.runtime.isApplicationExist({ pname: 'com.tencent.mm', action: 'weixin://' })) {
//安装微信后的逻辑
} else {
uni.showToast({
title : '未安装微信',
icon : 'none'
})
}
// #endif
注意:plus只能用于APP环境中
更多推荐


所有评论(0)