Sign in

严涛 / energy-management · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • energy-management
  • src
  • components
  • custom-icon
  • index.vue
  • 项目初始化
    f85a61e8
    严涛 authored
    2026-03-23 16:25:30 +0800  
    Browse Files »
index.vue 380 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<template>
  <icon-font :type="type" :size="size"/>
</template>

<script  lang="ts" setup>
import { Icon } from '@arco-design/web-vue';
const IconFont = Icon.addFromIconFontCn({ src: 'https://at.alicdn.com/t/c/font_4182253_y6hh5g7coe.js' });

defineProps({
  type: {
      type: String,
      default: ''
    },
    size: {
      type: Number,
      default: 18
    }
})
</script>