fix: component import error
This commit is contained in:
parent
a856e8cf87
commit
206fbfaaa3
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang='ts'>
|
<script setup lang='ts'>
|
||||||
import { SvgIcon } from '@/components'
|
import { Icon } from '@/components'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
user?: boolean
|
user?: boolean
|
||||||
|
@ -18,7 +18,7 @@ defineProps<Props>()
|
||||||
:class="[user ? 'ml-3' : 'mr-3']"
|
:class="[user ? 'ml-3' : 'mr-3']"
|
||||||
>
|
>
|
||||||
<img v-if="user" src="@/assets/avatar.jpg" class="object-cover w-full h-full " alt="avatar">
|
<img v-if="user" src="@/assets/avatar.jpg" class="object-cover w-full h-full " alt="avatar">
|
||||||
<SvgIcon v-else local-icon="logo" class="text-[26px]" />
|
<Icon v-else local-icon="logo" class="text-[26px]" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col flex-1 text-sm" :class="[{ 'items-end': user }]">
|
<div class="flex flex-col flex-1 text-sm" :class="[{ 'items-end': user }]">
|
||||||
<span class="text-xs text-[#b4bbc4]">
|
<span class="text-xs text-[#b4bbc4]">
|
||||||
|
|
Loading…
Reference in New Issue