fix bug
This commit is contained in:
parent
2737810c6c
commit
8e11c4f539
2 changed files with 7 additions and 3 deletions
|
|
@ -8,7 +8,11 @@ export const useKPIDataStore = defineStore("KPIDataStore", () => {
|
|||
|
||||
const tabMain = ref<string>("1");
|
||||
const dataProfile = ref<any>();
|
||||
const dataEvaluation = ref<any>();
|
||||
const dataEvaluation = ref<any>({
|
||||
plannedPoint: 0,
|
||||
rolePoint: 0,
|
||||
specialPoint: 0,
|
||||
});
|
||||
|
||||
const competencyType = ref<DataOption[]>([
|
||||
{
|
||||
|
|
|
|||
|
|
@ -124,14 +124,14 @@ onMounted(() => {
|
|||
style="left: 2%; top: 50%; transform: translateY(-50%)"
|
||||
>
|
||||
<q-avatar size="95px">
|
||||
<img
|
||||
<q-img
|
||||
v-if="formProfile.avartar == null"
|
||||
src="@/assets/avatar_user.jpg"
|
||||
class="bg-grey-3"
|
||||
style="object-fit: cover"
|
||||
/>
|
||||
|
||||
<img v-else :src="formProfile.avartar" />
|
||||
<q-img v-else :src="formProfile.avartar" />
|
||||
</q-avatar>
|
||||
</div>
|
||||
<div class="row col-12">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue