This commit is contained in:
wtq
2025-12-16 10:37:42 +08:00
parent cba285c943
commit a5b303c73c
8 changed files with 189 additions and 185 deletions

View File

@@ -50,13 +50,13 @@ const deliveryList = ref<Array<AnyObject>>([])
*/
const isInstallWx = ref<boolean>(false)
onShow(() => {
uni.getProvider({
service: 'share',
success: function (res) {
// res.provider[0] === 'weixin' ? 微信已经安装 : 微信尚未安装
isInstallWx.value = res.provider[0] == 'weixin' ? true : false
}
})
// uni.getProvider({
// service: 'share',
// success: function (res) {
// // res.provider[0] === 'weixin' ? 微信已经安装 : 微信尚未安装
// isInstallWx.value = res.provider[0] == 'weixin' ? true : false
// }
// })
// if (
// plus.runtime.isApplicationExist({