From e0b8b033b1c2483367dddb556ca82f906c217185 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 01 十一月 2022 11:28:29 +0800
Subject: [PATCH] 45
---
src/views/login/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index baadcce..a71cd46 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -44,7 +44,8 @@
const onSubmit = (values:any) => {
console.log('submit', values)
loadingBUt.value=true
- ajaxPost('/patient/info/wechatLogin2',`mobile=${username.value}&password=${password.value}`,config).then((re:any)=>{
+ const openid='odFja56xfwSZDHhAEMn-JotSzlRc'
+ ajaxPost('/patient/info/wechatLogin2',`mobile=${username.value}&password=${password.value}&openId=${openid}`,config).then((re:any)=>{
console.log(re)
if (re===''){
Toast('登录失败,请重新登录')
--
Gitblit v1.8.0