mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-10 04:47:50 +00:00
国际化、主题处理
This commit is contained in:
16
src/components/common-icon/index.vue
Normal file
16
src/components/common-icon/index.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
defineProps({
|
||||
icon: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-icon>
|
||||
<component
|
||||
:is="icon"
|
||||
/>
|
||||
</el-icon>
|
||||
</template>
|
||||
Reference in New Issue
Block a user