切换公司逻辑完善
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user