fix(components): empty icon component judgment (#4178)

* fix(components): empty icon component judgment

* revert: globals components

* fix(components): el-icon missing import

* fix: use shallowRef for icon components

* refactor: remove shallowRef

* fix: remove unused code

* fix: social-link icon size

* fix: time picker icon

* fix: v-if judge
This commit is contained in:
Aex
2021-11-05 17:44:02 +08:00
committed by GitHub
parent c72ea9c1a1
commit f78407a409
28 changed files with 85 additions and 155 deletions

View File

@ -36,18 +36,6 @@
<el-button type="danger" :icon="Delete" circle></el-button>
</el-row>
</template>
<script lang="ts">
<script setup lang="ts">
import { Search, Edit, Check, Message, Star, Delete } from '@element-plus/icons'
export default {
data() {
return {
Search,
Edit,
Check,
Message,
Star,
Delete,
}
},
}
</script>