From 5c48ef2b8267c38bae717202615e1618074ee31c Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 29 八月 2025 15:25:05 +0800 Subject: [PATCH] 修改组件 --- src/pages/login.vue | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pages/login.vue b/src/pages/login.vue index a2e0d33..485f53a 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -1,8 +1,6 @@ <template> <view class="normal-login-container"> <view class="logo-content"> -<!-- <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">--> -<!-- </image>--> <text>璐﹀彿瀵嗙爜鐧诲綍</text> </view> <view class="login-form-content"> @@ -103,8 +101,7 @@ } function getUserLoginFacotryList() { - if(loginForm.value.username){ - userLoginFacotryList({userName:loginForm.value.username}).then(res => { + userLoginFacotryList({userName:loginForm.value.username}).then(res => { // 妫�鏌es.data鏄惁涓烘暟缁� if (res.data && Array.isArray(res.data)) { // 閲嶆柊缁勮鏁版嵁鏍煎紡锛歞eptId鍙樻垚id锛宒eptName鍙樻垚name @@ -120,9 +117,6 @@ modal.msgError('鑾峰彇鍏徃鍒楄〃澶辫触:', error) factoryList.value = [] }) - }else { - factoryList.value = [] - } } async function handleLogin() { @@ -171,9 +165,10 @@ .normal-login-container { width: 100%; + height: 100vh; .logo-content { - width: 100%; + width: 90%; font-weight: 400; font-size: 30px; color: #333333; -- Gitblit v1.9.3