Logo.vue 334 字节
Newer Older
L
LeoKu 已提交
1 2 3 4 5
<template>
  <img
    style="width: 40px; height: 40px"
    :src="LogoSvg"
    :style="{ width: `${props.size}rem`, height: `${props.size}rem` }"
L
LeoKu 已提交
6
    alt="logo"
L
LeoKu 已提交
7 8 9 10 11 12 13 14 15 16
  />
</template>

<script lang="ts" setup>
import LogoSvg from '@/assets/logo.svg'

const props = withDefaults(defineProps<{ size?: number }>(), {
  size: 2.5,
})
</script>