Merge branch 'feature/0602_登录注册' of http://gogs.lvfunai.com:444/ai-team/lingji-work-fe into feature/0602_登录注册
This commit is contained in:
@ -265,8 +265,9 @@ const getProfileInfo = async () => {
|
|||||||
accounts.value = enterprises;
|
accounts.value = enterprises;
|
||||||
if (enterprises.length > 0) {
|
if (enterprises.length > 0) {
|
||||||
if (enterprises.length == 1) {
|
if (enterprises.length == 1) {
|
||||||
let enterprise = enterprises[0];
|
|
||||||
userStore.setCompanyInfo(enterprise);
|
// let enterprise = enterprises[0];
|
||||||
|
// userStore.setCompanyInfo(enterprise);
|
||||||
handleUserLogin();
|
handleUserLogin();
|
||||||
} else {
|
} else {
|
||||||
// 多个企业时候需要弹窗让用户选择企业
|
// 多个企业时候需要弹窗让用户选择企业
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Container from '@/components/container.vue';
|
import Container from '@/components/container.vue';
|
||||||
import Modal from '@/components/modal.vue';
|
import Modal from '@/components/modal.vue';
|
||||||
import PuzzleVerification from '@/views/components/login/PuzzleVerification.vue';
|
import PuzzleVerification from '@/views/components/login/components/PuzzleVerification.vue';
|
||||||
import { ref, reactive } from 'vue';
|
import { ref, reactive } from 'vue';
|
||||||
import 'vue-cropper/dist/index.css';
|
import 'vue-cropper/dist/index.css';
|
||||||
import { VueCropper } from 'vue-cropper';
|
import { VueCropper } from 'vue-cropper';
|
||||||
|
|||||||
Reference in New Issue
Block a user