修改工作台
This commit is contained in:
@ -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 {
|
||||
// 多个企业时候需要弹窗让用户选择企业
|
||||
|
||||
Reference in New Issue
Block a user