修复微信登录功能

This commit is contained in:
RockYang
2025-01-07 14:44:47 +08:00
parent adb1dfbded
commit 194b0343bf
2 changed files with 4 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
VUE_APP_API_HOST=http://localhost:5678
VUE_APP_API_HOST=http://geekai.me:6004
VUE_APP_WS_HOST=ws://localhost:5678
VUE_APP_USER=18888888888
VUE_APP_PASS=12345678

View File

@@ -40,13 +40,10 @@
<div class="text-center">其他登录方式</div>
</el-divider>
<div class="c-login flex justify-center">
<!-- <div class="login-type mr-2">
<a class="wechat-login" :href="wechatLoginURL" @click="setRoute(router.currentRoute.value.path)"><i class="iconfont icon-wechat"></i></a>
</div> -->
<div class="p-2 w-full">
<el-button type="success" class="w-full" size="large" :href="wechatLoginURL" @click="setRoute(router.currentRoute.value.path)"
><i class="iconfont icon-wechat mr-2"></i> 微信登录
</el-button>
<a :href="wechatLoginURL">
<el-button type="success" class="w-full" size="large" :href="wechatLoginURL"><i class="iconfont icon-wechat mr-2"></i> 微信登录 </el-button>
</a>
</div>
</div>
</div>