切换公司逻辑完善

This commit is contained in:
2024-04-11 21:13:52 +08:00
parent 222bae69d9
commit 93e9c5227b
24 changed files with 451 additions and 146 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class='content'>
<view class='top-card-view'>
<image class='bg-image' :src='assetsUrl("test_bg.png")' />
<image class='bg-image' :src='companyConfigInfo.userbgcover' />
<image class='avatar-image' :src='params.avatarUrl' />
<text>{{ userInfo.name }}</text>
<text>{{ userInfo.levelName }}</text>
@@ -61,7 +61,7 @@ import { useUserStore } from '@/store';
import { showToast } from '@/utils';
const store = useUserStore();
const { userInfo } = storeToRefs(store);
const { userInfo,companyConfigInfo } = storeToRefs(store);
const params = ref<{
avatarUrl: string;