mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-11-11 13:33:53 +00:00
国际化、主题处理
This commit is contained in:
@@ -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