gaoluyang
9 天以前 5c48ef2b8267c38bae717202615e1618074ee31c
src/pages/login.vue
@@ -101,7 +101,6 @@
}
function getUserLoginFacotryList() {
   if(loginForm.value.username){
      userLoginFacotryList({userName:loginForm.value.username}).then(res => {
         // 检查res.data是否为数组
         if (res.data && Array.isArray(res.data)) {
@@ -118,9 +117,6 @@
         modal.msgError('获取公司列表失败:', error)
         factoryList.value = []
      })
   }else {
      factoryList.value = []
   }
}
async function handleLogin() {