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:
@@ -2,13 +2,13 @@
|
||||
defineProps({
|
||||
icon: {
|
||||
type: String,
|
||||
required: true
|
||||
required: false
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-icon>
|
||||
<el-icon v-if="icon">
|
||||
<component
|
||||
:is="icon"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user