修改工作台

This commit is contained in:
lq
2025-06-23 10:53:03 +08:00
parent 2ce531f896
commit e1a5f27eda
2 changed files with 4 additions and 3 deletions

View File

@ -265,8 +265,9 @@ const getProfileInfo = async () => {
accounts.value = enterprises;
if (enterprises.length > 0) {
if (enterprises.length == 1) {
let enterprise = enterprises[0];
userStore.setCompanyInfo(enterprise);
// let enterprise = enterprises[0];
// userStore.setCompanyInfo(enterprise);
handleUserLogin();
} else {
// 多个企业时候需要弹窗让用户选择企业