perf: 调整

This commit is contained in:
rd
2025-07-09 15:57:38 +08:00
parent eb81cb04c3
commit 102cfd8352
2 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@
<script setup lang="ts">
import { useUserStore } from '@/stores';
import { useEnterpriseStore } from '@/stores/modules/enterprise';
import { getUserEnterpriseInfo } from '@/utils/user';

View File

@ -268,7 +268,6 @@ const getProfileInfo = async () => {
mobileNumber.value = data['mobile'];
accounts.value = enterprises;
enterpriseStore.setEnterpriseInfo(data);
userStore.setUserInfo(data);
if (enterprises.length > 0) {
if (enterprises.length === 1) {