我也遇到了,请问解决了吗
"errMsg":"navigateTo:fail timeout"什么时候修复?API:Taro.navigateTo 微信开发者工具版本号:当前已是最新版本(1.06.2405020darwin-x64) 调试基础库:2.17.0 问题描述:调用Taro.navigateTo出现 WAServiceMainContext.js:2 Error: MiniProgramError {"errMsg":"navigateTo:fail timeout"} at Object.errorReport (WAServiceMainContext.js:2) at Function.thirdErrorReport (WAServiceMainContext.js:2) at Object.thirdErrorReport (WAServiceMainContext.js:2) at u (WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2) at Object.v [as cb] (WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2) at WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2 at Array.forEach (<anonymous>) at e.value (WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2) at t (WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2) at WASubContext.js?t=wechat&s=1722564417368&v=2.17.0:2(env: macOS,mp,1.06.2405020; lib: 2.17.0) 报错后就会卡住,运气好等待十几秒会过去,运气不好直接卡死页面。 这个问题好长时间了,请问什么时候可以修复?有没有临时解决方案?
2024-12-29兔小巢的插件,调用go方法后内部提示没有navigateTo方法呢
默认跳转后提示没找到 navigateTo 方法<script setup> import { reactive, getCurrentInstance, ref } from 'vue' import { onReady, onLoad, onUnload, onHide } from "@dcloudio/uni-app" const { proxy } = getCurrentInstance() let Tucao = requirePlugin('tucao').default; onLoad((option) => { let userInfo = uni.getStorageSync('userInfo'); console.log(userInfo) let userName = '' if (userInfo.image) { userName = userInfo.name } let userImage = '' if (userInfo.image_logo) { userImage = userInfo.image_logo } console.log('userInfo.value.openid') console.log(userInfo.openid) // 初始化并触发跳转,支持链式调用 Tucao.init(proxy, { productId: 我的产品ID, avatar: userImage, nickname: userName, openid: userInfo.openid }).go(); }) </script> 报错信息:Cannot read property 'navigateTo' of undefined
2024-07-10走success后还是没跳转到微信客服插件的页面
分包引入插件页面空白,但是回调是走success的<template> <view style="height: 100vh"> <chat bind:queryCallback="getQueryCallback" bind:openWebview="openWebview" bind:openMiniProgram="openMiniProgram" /> </view> </template> <script setup> import { reactive, getCurrentInstance, ref } from 'vue' import { onReady, onLoad, onUnload, onHide } from "@dcloudio/uni-app" let userInfo = ref({}) let plugin = requirePlugin("chatbot"); onLoad((option) => { userInfo.value = uni.getStorageSync('userInfo'); let userName = '' if (userInfo.value?.image) { userName = userInfo.value?.name } let userImage = '' if (userInfo.value?.image_logo) { userImage = userInfo.value?.image_logo } console.log('userInfo.value.openid') console.log(userInfo.value.openid) plugin.init({ appid: "我的ID", //微信对话开放平台小程序插件appid openid: userInfo.value.openid, // 小程序用户的openid,必填项 userHeader: userImage, // 用户头像,不传会弹出登录框 userName: userName, // 用户昵称,不传会弹出登录框 anonymous: false, // 是否允许匿名用户登录,版本1.2.9后生效, 默认为false,设为true时,未传递userName、userHeader两个字段时将弹出登录框 success: (res) => { console.log('res') console.log(res) }, //非必填 fail: (error) => { console.log('error') console.log(error) }, //非必填 }); }) </script> <style> [图片] </style>
2024-07-10现在的api获取用户头像真的很难用哇
wx.getUserProfile和wx.getUserInfo都不能获取用户昵称和头像,怎么解决?搞这么多接口一个有用的都没有,wx.getUserProfile和wx.getUserInfo都不能获取昵称和头像等用户信息,大家都是怎么解决的啊?
2023-12-13切换回原本发服务商和子商户发起支付则成功,切换新的并且查看openid是没有变化的但是新的发起支付会提示appid和openid不匹配
微信小程序服务商支付提示appid和openid不匹配原本用旧的服务商支付发起是成功的,现切换新的服务商更换新的子商户ID后发起支付提示openid和appid不匹配,不方便把支付数据截图,请大佬回复一下 [图片]
2023-05-18