From a89fe32c353040bbb95d7519cf7bafc4b5934f10 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 06 九月 2023 09:54:14 +0800
Subject: [PATCH] 小程序
---
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