收藏
回答

获取头像时开发工具中报错,上传后体验版真机正常 ?

获取头像时开发工具中报错,上传后体验版真机正常  报错代码:devtools not support private_getBackgroundFetchData	
代码片段:
				<button class="flex flex--direction justify-center align-center auth-avatar" open-type="chooseAvatar" @chooseavatar="onChooseAvatar" @click="toastModal(1)">
						<image class="weixin-avatar" :src="temp.avatar" mode="scaleToFill" v-if="temp.avatar"></image>
						<image class="weixin-avatar" src="/static/images/test/avatar2.png" mode="scaleToFill" v-else></image>
					</button>

			toastModal(msgtype){
				this.toastTitle = msgtype==1? '请选择"用微信头像"' : '请选择键盘上方的"用微信昵称"'
				this.visibleAuthToast = true
			}
相关截图:

开发者工具已经升级为最新版

在发这个帖子时解决了问题,调试基础库由3.4.2改成3.3.5就正常了!

回答关注问题邀请回答
收藏
登录 后发表内容