初始提交:实习工作日志系统(设计方案 + Vue3 应用 + Electron 打包)

This commit is contained in:
root
2026-10-15 23:55:27 +08:00
commit cfb984627d
50 changed files with 9223 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<script setup lang="ts">
import { computed } from 'vue'
import { ICONS } from './icons'
const props = withDefaults(defineProps<{ name: string; size?: number }>(), { size: 16 })
const html = computed(() => ICONS[props.name] || '')
</script>
<template>
<span class="icon" :style="{ width: size + 'px', height: size + 'px' }" v-html="html"></span>
</template>