<template>
<view>
//页面
<view style="width: 100%;height: 100px;font-size: 30px;text-align: center;line-height: 100px;">微信登录</view>
<!-- <view class="uni-form-item uni-column">
<input class="uni-input" focus placeholder="请输入用户名" style="border-bottom: 1px solid #eee;" v-model="username" />
</view> -->
<button type="warn" @click="btn">微信登录</button>
<!-- <view @click="gotoresister()">验证码登录</view> -->
</view>
</template>
<script>
//
uniapp微信第三方登录
最新推荐文章于 2024-06-27 14:53:02 发布
本文介绍了使用uni-app进行微信第三方登录的实现过程,重点提到在微信开发者工具中可能出现的问题,即msg显示不正确,原因是前端与后端的AppID不一致。解决办法是调整返回值来匹配正确的AppID。
摘要由CSDN通过智能技术生成