From 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 06 十二月 2023 08:41:32 +0800
Subject: [PATCH] bug

---
 h5_standard/src/views/wxLogin.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/h5_standard/src/views/wxLogin.vue b/h5_standard/src/views/wxLogin.vue
index 87c9825..bfe84b5 100644
--- a/h5_standard/src/views/wxLogin.vue
+++ b/h5_standard/src/views/wxLogin.vue
@@ -45,8 +45,8 @@
 })
 
 const login = async () => {
-    if (!from.openid) return Toast('openid涓嶈兘涓虹┖')
-    if (!from.unionid) return Toast('unionid涓嶈兘涓虹┖')
+    // if (!from.openid) return Toast('openid涓嶈兘涓虹┖')
+    // if (!from.unionid) return Toast('unionid涓嶈兘涓虹┖')
     if (!from.companyId) return Toast('浼佷笟浠g爜涓嶈兘涓虹┖')
     if (!from.username) return Toast('鎵嬫満鍙蜂笉鑳戒负绌�')
     if (!from.password) return Toast('瀵嗙爜涓嶈兘涓虹┖')
@@ -58,7 +58,7 @@
     if (res.code === 200) {
         let info = await getUserInfo()
         if (info.code === 200) {
-            await store.commit('setEntrance', 'DD')
+            await store.commit('setEntrance', 'WX')
             await store.commit('setUserInfo', info.data)
             await store.dispatch('getMenuList', 2)
             await router.replace('/workbench')
@@ -75,7 +75,7 @@
                 if (res.data.loginStatus == 0) {
                     let info = await getUserInfo()
                     if (info.code === 200) {
-                        await store.commit('setEntrance', 'DD')
+                        await store.commit('setEntrance', 'WX')
                         await store.commit('setUserInfo', info.data)
                         await store.dispatch('getMenuList', 2)
                         await router.replace('/workbench')
@@ -157,6 +157,7 @@
                     input {
                         flex: 1;
                         height: 100%;
+                        padding: 0 !important;
                         font-size: 30px;
                         font-family: PingFangSC-Regular, PingFang SC;
                         font-weight: 400;

--
Gitblit v1.9.3